Hi
I saw in qml doc that TextInput does not have vertical alignment. But I need
this feature. I want to select text by mouse above and below text other than
selecting by moving mouse in the text .
For example I can select the text "Hello, world" in the blank area under the
text in the following code. But no space above the text. If TextInput could be
vertical center alignment, no such issue.
Any comments are appreciated.
import Qt 4.7
Rectangle {
id: rectangle
width: 600
height: 400
TextInput {
id: textinput
anchors.fill: parent
horizontalAlignment: TextInput.AlignHCenter
text: "Hello, World!"
cursorVisible: true
selectByMouse: true
}
}
_______________________________________________
Qt-qml mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-qml