diff options
author | Diego Prado Gesto <d.pradogesto@ultimaker.com> | 2018-10-26 18:51:28 +0300 |
---|---|---|
committer | Diego Prado Gesto <d.pradogesto@ultimaker.com> | 2018-10-26 18:51:28 +0300 |
commit | 90e8a05aab63d5d16a2431571f6e9b6791ccd192 (patch) | |
tree | 4422df8f023c6ed297bcb77c94805a04dcaa2e83 /plugins/PrepareStage/PrepareMenu.qml | |
parent | c8bdf7321c4a888025001064f11c852097404264 (diff) |
Remove all the entries in the theme that make reference to the sidebar,
because there is no sidebar anymore.
Several different margins and linings were created depending on the
side, not depending on where it belongs.
Contributes to CURA-5784.
Diffstat (limited to 'plugins/PrepareStage/PrepareMenu.qml')
-rw-r--r-- | plugins/PrepareStage/PrepareMenu.qml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/PrepareStage/PrepareMenu.qml b/plugins/PrepareStage/PrepareMenu.qml index c7f8a3b0f1..cdcc1384a2 100644 --- a/plugins/PrepareStage/PrepareMenu.qml +++ b/plugins/PrepareStage/PrepareMenu.qml @@ -43,15 +43,15 @@ Item Cura.MachineSelector { id: machineSelection - width: Math.round(0.8 * UM.Theme.getSize("sidebar").width) - configSelection.width + width: UM.Theme.getSize("machine_selector_widget").width - configSelection.width height: prepareMenu.height } Cura.QuickConfigurationSelector { id: configSelection - width: visible ? Math.round(UM.Theme.getSize("sidebar").width * 0.15) : 0 - panelWidth: Math.round(0.8 * UM.Theme.getSize("sidebar").width) + width: visible ? UM.Theme.getSize("machine_selector_widget").width * 0.2 : 0 + panelWidth: UM.Theme.getSize("machine_selector_widget").width height: prepareMenu.height } |