mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-06-04 11:14:21 +08:00
Move a few hardcoded sizes to the theme
CURA-5785
This commit is contained in:
parent
fcfe95c7d0
commit
b589920f53
@ -53,9 +53,8 @@ Item
|
|||||||
{
|
{
|
||||||
id: machineSelection
|
id: machineSelection
|
||||||
z: openFileButtonBackground.z - 1
|
z: openFileButtonBackground.z - 1
|
||||||
|
Layout.minimumWidth: UM.Theme.getSize("machine_selector_widget").width
|
||||||
Layout.minimumWidth: 240
|
Layout.maximumWidth: UM.Theme.getSize("machine_selector_widget").width
|
||||||
Layout.maximumWidth: 240
|
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
}
|
}
|
||||||
@ -90,8 +89,8 @@ Item
|
|||||||
onShowTooltip: prepareMenu.showTooltip(item, location, text)
|
onShowTooltip: prepareMenu.showTooltip(item, location, text)
|
||||||
onHideTooltip: prepareMenu.hideTooltip()
|
onHideTooltip: prepareMenu.hideTooltip()
|
||||||
|
|
||||||
Layout.minimumWidth: 460
|
Layout.minimumWidth: UM.Theme.getSize("print_setup_widget").width
|
||||||
Layout.maximumWidth: 460
|
Layout.maximumWidth: UM.Theme.getSize("print_setup_widget").width
|
||||||
Layout.fillWidth: true
|
Layout.fillWidth: true
|
||||||
Layout.fillHeight: true
|
Layout.fillHeight: true
|
||||||
}
|
}
|
||||||
|
@ -374,7 +374,7 @@
|
|||||||
|
|
||||||
"account_button": [12, 3],
|
"account_button": [12, 3],
|
||||||
|
|
||||||
"print_setup_widget": [35.0, 42.0],
|
"print_setup_widget": [30.0, 42.0],
|
||||||
"print_setup_mode_toggle": [0.0, 2.0],
|
"print_setup_mode_toggle": [0.0, 2.0],
|
||||||
"print_setup_item": [0.0, 2.0],
|
"print_setup_item": [0.0, 2.0],
|
||||||
"print_setup_extruder_box": [0.0, 6.0],
|
"print_setup_extruder_box": [0.0, 6.0],
|
||||||
@ -386,7 +386,7 @@
|
|||||||
"action_panel_information_widget": [20.0, 0.0],
|
"action_panel_information_widget": [20.0, 0.0],
|
||||||
"action_panel_button": [15.0, 3.0],
|
"action_panel_button": [15.0, 3.0],
|
||||||
|
|
||||||
"machine_selector_widget": [28.0, 4.5],
|
"machine_selector_widget": [16.0, 4.5],
|
||||||
|
|
||||||
"views_selector": [0.0, 4.0],
|
"views_selector": [0.0, 4.0],
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user