mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-13 14:29:00 +08: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
@ -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…
x
Reference in New Issue
Block a user