Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Prado Gesto <d.pradogesto@ultimaker.com>2018-10-25 18:41:35 +0300
committerDiego Prado Gesto <d.pradogesto@ultimaker.com>2018-10-25 18:41:35 +0300
commite64698209c22b65bb556a042f935db73fcb2df0f (patch)
tree65a296f558489515255c94465ae626618c31fd56 /plugins/PrepareStage/PrepareMenu.qml
parente85b5febe1eb4cef8361d2ebbdda0ca9720a487b (diff)
Adjust the minimum size to be something around 1280x1024.
Also adjust some colors color for the dark theme. Contributes to CURA-5772.
Diffstat (limited to 'plugins/PrepareStage/PrepareMenu.qml')
-rw-r--r--plugins/PrepareStage/PrepareMenu.qml6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/PrepareStage/PrepareMenu.qml b/plugins/PrepareStage/PrepareMenu.qml
index 8d0f03ec2f..f08de9d317 100644
--- a/plugins/PrepareStage/PrepareMenu.qml
+++ b/plugins/PrepareStage/PrepareMenu.qml
@@ -46,7 +46,7 @@ Item
Cura.MachineSelector
{
id: machineSelection
- width: UM.Theme.getSize("sidebar").width
+ width: Math.round(0.8 * UM.Theme.getSize("sidebar").width) - configSelection.width
height: prepareMenu.height
}
@@ -54,8 +54,8 @@ Item
{
id: configSelection
visible: isNetworkPrinter && printerConnected
- width: visible ? Math.round(machineSelection.width * 0.15) : 0
- panelWidth: machineSelection.width
+ width: visible ? Math.round(UM.Theme.getSize("sidebar").width * 0.15) : 0
+ panelWidth: Math.round(0.8 * UM.Theme.getSize("sidebar").width)
height: prepareMenu.height
}