[Qt-qml] Formatting text output
Ganshorn Thomas
mailings at novaimages.de
Sat May 7 20:31:07 CEST 2011
Hi
i tried to test some stuff in qml to see if it is suitable for my project.
So i tried to do my own slider.
Although this is working, i want to see the current value of the slider
as a text.
Therefore i created a text element and set the text property by
Text
{
....
text: slider.value
}
altough i see the value, it is unusable because i have eg. a number of
2.12345678
how can i clip the text ? is there a formatter class or something like
that ?
Greetings
Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20110507/ff274357/attachment.html
More information about the Qt-qml
mailing list