mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Clean the recommended mode print setup
Contributes to CURA-5941
This commit is contained in:
parent
990c653af4
commit
7639983925
2 changed files with 580 additions and 656 deletions
|
@ -94,40 +94,10 @@ Item
|
|||
anchors
|
||||
{
|
||||
top: header.bottom
|
||||
leftMargin: UM.Theme.getSize("default_margin").width
|
||||
rightMargin: UM.Theme.getSize("default_margin").width
|
||||
}
|
||||
sourceComponent: currentModeIndex == 0 ? recommendedPrintSetup : customPrintSetup
|
||||
}
|
||||
|
||||
// Item
|
||||
// {
|
||||
// id: content
|
||||
// width: parent.width
|
||||
// height: 100
|
||||
////// height: tabBar.height + sidebarContents.height
|
||||
////
|
||||
// anchors
|
||||
// {
|
||||
// top: header.bottom
|
||||
// leftMargin: UM.Theme.getSize("default_margin").width
|
||||
// rightMargin: UM.Theme.getSize("default_margin").width
|
||||
// }
|
||||
////
|
||||
//// Rectangle
|
||||
//// {
|
||||
//// id: sidebarContents
|
||||
//// anchors.top: tabBar.bottom
|
||||
//// anchors.bottom: parent.bottom
|
||||
//// anchors.left: parent.left
|
||||
//// anchors.right: parent.right
|
||||
//// height: UM.Theme.getSize("print_setup_widget").height
|
||||
////
|
||||
//// border.width: UM.Theme.getSize("default_lining").width * 2
|
||||
//// border.color: UM.Theme.getColor("action_button_border")
|
||||
//// }
|
||||
// }
|
||||
|
||||
Rectangle
|
||||
{
|
||||
id: buttonsSeparator
|
||||
|
@ -195,7 +165,6 @@ Item
|
|||
|
||||
Component.onCompleted:
|
||||
{
|
||||
print(height, "!!!!!!!!!!!!!!!!!!!!!!!")
|
||||
var index = Math.round(UM.Preferences.getValue("cura/active_mode"))
|
||||
|
||||
if(index != null && !isNaN(index))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue