mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 19:35:58 +08:00
Hide settings when pre-sliced g-code is loaded
CURA-5772
This commit is contained in:
parent
ac9cfd8873
commit
2bb7b352ef
@ -106,10 +106,10 @@ Rectangle
|
|||||||
model: modesListModel
|
model: modesListModel
|
||||||
width: Math.round(parent.width * 0.55)
|
width: Math.round(parent.width * 0.55)
|
||||||
height: UM.Theme.getSize("print_setup_mode_toggle").height
|
height: UM.Theme.getSize("print_setup_mode_toggle").height
|
||||||
|
visible: !hideSettings
|
||||||
|
|
||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
anchors.rightMargin: UM.Theme.getSize("thick_margin").width
|
anchors.rightMargin: UM.Theme.getSize("thick_margin").width
|
||||||
|
|
||||||
anchors.top: settingsModeLabel.top
|
anchors.top: settingsModeLabel.top
|
||||||
|
|
||||||
ButtonGroup
|
ButtonGroup
|
||||||
@ -191,6 +191,8 @@ Rectangle
|
|||||||
anchors.right: parent.right
|
anchors.right: parent.right
|
||||||
height: UM.Theme.getSize("print_setup_widget").height
|
height: UM.Theme.getSize("print_setup_widget").height
|
||||||
|
|
||||||
|
visible: !hideSettings
|
||||||
|
|
||||||
// We load both of them at once (instead of using a loader) because the advanced sidebar can take
|
// We load both of them at once (instead of using a loader) because the advanced sidebar can take
|
||||||
// quite some time to load. So in this case we sacrifice memory for speed.
|
// quite some time to load. So in this case we sacrifice memory for speed.
|
||||||
SidebarAdvanced
|
SidebarAdvanced
|
||||||
|
Loading…
x
Reference in New Issue
Block a user