mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-15 15:05:53 +08:00
Clean the recommended mode print setup
Contributes to CURA-5941
This commit is contained in:
parent
990c653af4
commit
7639983925
@ -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…
x
Reference in New Issue
Block a user