QML Text element with Text.AlignJustify
-
Hi
I need to create a Text element with fully justified text. According to "4.7 Snapshot docs":http://doc.qt.nokia.com/4.7-snapshot/qml-text.html#horizontalAlignment-prop Text.AlignJustify is a valid value for Text.horizontalAlignment. But this does not appear in "4.7 Latest docs":http://doc.qt.nokia.com/latest/qml-text.html#horizontalAlignment-prop.
The latest Qt Creator (2.2.1) seems to know about Text.AlignJustify but when it is specified as the value for Text.horizontalAlignment, I get the error: Unable to assign [undefined] to int horizontalAlignment.
When will this option become available?
Also I don't think I fully understand the difference between the "snapshot" docs and "latest", what is the difference?
QQ
-
Hi,
AlignJustify will be added as part of the QtQuick 1.1 release ( http://doc.qt.nokia.com/4.7-snapshot/qtquick-whatsnew.html ).
Regards,
Michael -
Hi QQ, "snapshot" and "latest"(know as release) docs are different. AFAWK, there has tp(technical preview), beta, and release version for Qt. So maybe some context, some APIs will be changed or removed in release version.
What's the justified text used for ? Can it be place with other alignment value?
-
[quote author="mbrasser" date="1311061700"]Hi,
AlignJustify will be added as part of the QtQuick 1.1 release (http://doc.qt.nokia.com/4.7-snapshot/qtquick-whatsnew.html).
Regards,
Michael[/quote]Hi Michael
Thanks for that. Any idea when this will be available to be used for Symbian apps?
QQ