If you want to center an item into another item both vertically and horizontally, use
for example centering inside the parentQt Code:
anchors.centerIn: otherItemsIdTo copy to clipboard, switch view to plain text mode
Qt Code:
Item { Item { anchors.centerIn: parent } }To copy to clipboard, switch view to plain text mode
Cheers,
_
Bookmarks