How to enable scrolling in the TextArea on the touchscreen devices
-
Hello all!
I have such code:
@TextArea {
id: inp
anchors.fill: parent
wrapMode: TextInput.WordWrap
backgroundVisible: true
frameVisible: false
style: TextAreaStyle {
backgroundColor: "white"
}
height: inp.font.pixelSize * 6
clip: true
textFormat: TextEdit.RichText
inputMethodHints: Qt.ImhNoPredictiveText
onTextChanged: {
if (getText(0, length) != "")
{
//change icon
} else {
//change icon
}
}
}@on the desktop - scrolling are work correct, but at the Android with touchscreen - i can't scroll text on top.
for example, i type in text area 100000000 lines of text, i see only 5 last, and i want to read previouse, on tuchscreen i can't do this, why? O_o