Adjust the minimum size to be something around 1280x1024.

Also adjust some colors color for the dark theme.

Contributes to CURA-5772.
This commit is contained in:
Diego Prado Gesto 2018-10-25 17:41:35 +02:00
parent e85b5febe1
commit e64698209c
5 changed files with 12 additions and 8 deletions

View file

@ -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
}