[Qt-qml] anchors.horizontalCenter bug ?
Stephen Collyer
scollyer at netspinner.co.uk
Tue Jul 27 13:07:29 CEST 2010
On 27 July 2010 00:23, <warwick.allison at nokia.com> wrote:
>
> anchors.horizontalCenter: parent.horizontalCenter
> width: parent.width
>
> Which means to force the text to be as wide as the parent, then center that
> in the parent (which does nothing since they're the same size).
>
>
Yes, you're right. The parent.width in the Text element was
breaking the alignment - it works fine without that.
--
Stephen Collyer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20100727/65b625b1/attachment.html
More information about the Qt-qml
mailing list