Make the height of the Print setup selector themable.

Contributes to CURA-5772.
This commit is contained in:
Diego Prado Gesto 2018-10-26 16:16:33 +02:00
parent 3eb71021e2
commit 5a5adb71cd
3 changed files with 6 additions and 3 deletions

View file

@ -61,12 +61,12 @@ Item
Cura.CustomConfigurationSelector
{
width: UM.Theme.getSize("sidebar").width
width: UM.Theme.getSize("configuration_selector_widget").width
}
Cura.PrintSetupSelector
{
width: UM.Theme.getSize("sidebar").width
width: UM.Theme.getSize("print_setup_widget").width
onShowTooltip: prepareMenu.showTooltip(item, location, text)
onHideTooltip: prepareMenu.hideTooltip()
}

View file

@ -189,7 +189,7 @@ Rectangle
anchors.topMargin: UM.Theme.getSize("sidebar_margin").height
anchors.left: parent.left
anchors.right: parent.right
height: 500
height: UM.Theme.getSize("print_setup_widget").height
// 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.

View file

@ -355,6 +355,9 @@
"account_button": [12, 3],
"print_setup_widget": [35.0, 42.0],
"configuration_selector_widget": [35.0, 0.0],
"views_selector": [0.0, 4.0],
"default_lining": [0.08, 0.08],