mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-02 20:52:20 -07: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
|
anchors
|
||||||
{
|
{
|
||||||
top: header.bottom
|
top: header.bottom
|
||||||
leftMargin: UM.Theme.getSize("default_margin").width
|
|
||||||
rightMargin: UM.Theme.getSize("default_margin").width
|
|
||||||
}
|
}
|
||||||
sourceComponent: currentModeIndex == 0 ? recommendedPrintSetup : customPrintSetup
|
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
|
Rectangle
|
||||||
{
|
{
|
||||||
id: buttonsSeparator
|
id: buttonsSeparator
|
||||||
|
|
@ -195,7 +165,6 @@ Item
|
||||||
|
|
||||||
Component.onCompleted:
|
Component.onCompleted:
|
||||||
{
|
{
|
||||||
print(height, "!!!!!!!!!!!!!!!!!!!!!!!")
|
|
||||||
var index = Math.round(UM.Preferences.getValue("cura/active_mode"))
|
var index = Math.round(UM.Preferences.getValue("cura/active_mode"))
|
||||||
|
|
||||||
if(index != null && !isNaN(index))
|
if(index != null && !isNaN(index))
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue