mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 13:46:01 +08:00
Add extra space to printer button.
Contributes to CURA-5942.
This commit is contained in:
parent
a01ff9419d
commit
e2f85fcdc4
@ -90,11 +90,13 @@ Cura.ExpandableComponent
|
|||||||
id: scroll
|
id: scroll
|
||||||
width: parent.width
|
width: parent.width
|
||||||
clip: true
|
clip: true
|
||||||
|
leftPadding: UM.Theme.getSize("default_lining").width
|
||||||
|
rightPadding: UM.Theme.getSize("default_lining").width
|
||||||
|
|
||||||
MachineSelectorList
|
MachineSelectorList
|
||||||
{
|
{
|
||||||
// Can't use parent.width since the parent is the flickable component and not the ScrollView
|
// Can't use parent.width since the parent is the flickable component and not the ScrollView
|
||||||
width: scroll.width
|
width: scroll.width - scroll.leftPadding - scroll.rightPadding
|
||||||
property real maximumHeight: UM.Theme.getSize("machine_selector_widget_content").height - buttonRow.height
|
property real maximumHeight: UM.Theme.getSize("machine_selector_widget_content").height - buttonRow.height
|
||||||
|
|
||||||
onHeightChanged:
|
onHeightChanged:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user