We have moved to a new Sailfish OS Forum. Please start new discussions there.
1 | initial version | posted 2014-01-03 14:04:02 +0200 |
Seems that text selection doesn't work when a TextField
is readonly.
I have the following code:
TextInput {
text: "hello world"
readOnly: true
background: Item {
anchors.fill: parent
}
}
And long-pressing the text doesn't do anything at all. As soon as I set readOnly
to false
it starts working.
2 | No.2 Revision |
Seems that text selection doesn't work when a TextField
is readonly.
I have the following code:
TextInput TextField {
text: "hello world"
readOnly: true
background: Item {
anchors.fill: parent
}
}
And long-pressing the text doesn't do anything at all. As soon as I set readOnly
to false
it starts working.