mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-08-09 06:45:09 -06:00
Use alignment instead of anchors
Since it's within a layout, you can't use anchors CURA-8014
This commit is contained in:
parent
839ac63241
commit
4e80ac5138
1 changed files with 1 additions and 6 deletions
|
@ -80,12 +80,7 @@ Item
|
|||
|
||||
Rectangle
|
||||
{
|
||||
anchors
|
||||
{
|
||||
top: parent.top
|
||||
topMargin: UM.Theme.getSize("default_margin").width / 2
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
}
|
||||
Layout.alignment: Qt.AlignHCenter
|
||||
color: UM.Theme.getColor("viewport_overlay")
|
||||
|
||||
Image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue