Hello, I want my text element to be centered vertically. For this, I've tried to use this:
*anchors.horizontalCenter: parent.horizontalCenter* However, it does not work well: it has 11 pixels above it and 13 pixels below it inside of its parent. So, I've tried this instead: *height: parent.height* *verticalAlignment: Text.AlignVCenter* And, this one works just fine. Why? Is it a QML bug? I've tried Qt 6.6.3 and Qt 6.8.1. Windows 10.
_______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest