mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-14 05:35:58 +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
|
Rectangle
|
||||||
{
|
{
|
||||||
anchors
|
Layout.alignment: Qt.AlignHCenter
|
||||||
{
|
|
||||||
top: parent.top
|
|
||||||
topMargin: UM.Theme.getSize("default_margin").width / 2
|
|
||||||
horizontalCenter: parent.horizontalCenter
|
|
||||||
}
|
|
||||||
color: UM.Theme.getColor("viewport_overlay")
|
color: UM.Theme.getColor("viewport_overlay")
|
||||||
|
|
||||||
Image
|
Image
|
||||||
|
Loading…
x
Reference in New Issue
Block a user