Remove unnecessary horizontalCenter anchor

Left and right anchors can't work at the same time with the horizontalCenter. In this case it
makes more sence to remove the horizontalCenter, since the left and right ones also define the
width of the rectangle.

CURA-8014
This commit is contained in:
Kostas Karmas 2021-03-25 12:51:07 +01:00
parent 55cb7f88a7
commit 7af6ea5cc5

View file

@ -47,7 +47,6 @@ Item
bottom: whatsNewDots.top
left: parent.left
right: parent.right
horizontalCenter: parent.horizontalCenter
margins: UM.Theme.getSize("default_margin").width * 2
}