mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:45:55 +08:00
Remove top anchor from an element used in ColumnLayout
This element did need additional margins at the top. Added margins to the ColumnLayout element instead. CURA-8564
This commit is contained in:
parent
b53c1ba306
commit
c136deb430
@ -40,6 +40,7 @@ Window
|
||||
Rectangle
|
||||
{
|
||||
anchors.fill: parent
|
||||
anchors.topMargin: UM.Theme.getSize("default_margin").height
|
||||
color: UM.Theme.getColor("main_background")
|
||||
|
||||
ColumnLayout
|
||||
@ -61,7 +62,7 @@ Window
|
||||
Item
|
||||
{
|
||||
Layout.preferredWidth: parent.width
|
||||
Layout.preferredHeight: childrenRect.height + UM.Theme.getSize("default_margin").height
|
||||
Layout.preferredHeight: childrenRect.height
|
||||
|
||||
Label
|
||||
{
|
||||
@ -72,7 +73,6 @@ Window
|
||||
leftMargin: UM.Theme.getSize("default_margin").width
|
||||
right: parent.right
|
||||
rightMargin: UM.Theme.getSize("default_margin").width
|
||||
bottom: parent.bottom
|
||||
}
|
||||
|
||||
font: UM.Theme.getFont("large")
|
||||
|
@ -22,7 +22,6 @@ Rectangle
|
||||
margins: UM.Theme.getSize("default_margin").width
|
||||
left: parent.left
|
||||
right: parent.right
|
||||
top: parent.top
|
||||
}
|
||||
|
||||
color: UM.Theme.getColor("action_panel_secondary")
|
||||
|
Loading…
x
Reference in New Issue
Block a user