mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-08 14:34:01 -06: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
2 changed files with 2 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue