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


_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml

Reply via email to