[SOLVED] TextInput with content on left
QML and Qt Quick
4
Posts
3
Posters
2.0k
Views
1
Watching
-
wrote on 28 Sept 2011, 10:08 last edited by
Hi,
I have
@TextInput {
id: textBrowser
text: "http://ddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd"
}@But I see only the last letters.
I wish, when i want, move text to see the characters.Thx
-
wrote on 29 Sept 2011, 10:04 last edited by
I am not exactly sure what you want to accomplish.
What platform are you using. Try setting width of TextInput.
more doc on TextInput:
-
wrote on 29 Sept 2011, 17:26 last edited by
Try:
@
TextInput {
id: textBrowser
autoScroll: false
...
}
@or maybe you can use
@
textBrowser.cursorPosition = 0;
@
whenever you set your long text. -
wrote on 10 Oct 2011, 14:53 last edited by
Is exactly what I want.
Thx mlong.