mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 07:38:58 +08:00
Make the height of the Print setup selector themable.
Contributes to CURA-5772.
This commit is contained in:
parent
3eb71021e2
commit
5a5adb71cd
@ -61,12 +61,12 @@ Item
|
|||||||
|
|
||||||
Cura.CustomConfigurationSelector
|
Cura.CustomConfigurationSelector
|
||||||
{
|
{
|
||||||
width: UM.Theme.getSize("sidebar").width
|
width: UM.Theme.getSize("configuration_selector_widget").width
|
||||||
}
|
}
|
||||||
|
|
||||||
Cura.PrintSetupSelector
|
Cura.PrintSetupSelector
|
||||||
{
|
{
|
||||||
width: UM.Theme.getSize("sidebar").width
|
width: UM.Theme.getSize("print_setup_widget").width
|
||||||
onShowTooltip: prepareMenu.showTooltip(item, location, text)
|
onShowTooltip: prepareMenu.showTooltip(item, location, text)
|
||||||
onHideTooltip: prepareMenu.hideTooltip()
|
onHideTooltip: prepareMenu.hideTooltip()
|
||||||
}
|
}
|
||||||
|
@ -189,7 +189,7 @@ Rectangle
|
|||||||
anchors.topMargin: UM.Theme.getSize("sidebar_margin").height
|
anchors.topMargin: UM.Theme.getSize("sidebar_margin").height
|
||||||
anchors.left: parent.left
|
anchors.left: parent.left
|
||||||
anchors.right: parent.right
|
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
|
// 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.
|
// quite some time to load. So in this case we sacrifice memory for speed.
|
||||||
|
@ -355,6 +355,9 @@
|
|||||||
|
|
||||||
"account_button": [12, 3],
|
"account_button": [12, 3],
|
||||||
|
|
||||||
|
"print_setup_widget": [35.0, 42.0],
|
||||||
|
"configuration_selector_widget": [35.0, 0.0],
|
||||||
|
|
||||||
"views_selector": [0.0, 4.0],
|
"views_selector": [0.0, 4.0],
|
||||||
|
|
||||||
"default_lining": [0.08, 0.08],
|
"default_lining": [0.08, 0.08],
|
||||||
|
Loading…
x
Reference in New Issue
Block a user