mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-05 21:13:58 -06:00
Make the height of the Print setup selector themable.
Contributes to CURA-5772.
This commit is contained in:
parent
3eb71021e2
commit
5a5adb71cd
3 changed files with 6 additions and 3 deletions
|
@ -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()
|
||||
}
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue