Closed magnus-ISU closed 9 months ago
Yes, that makes sense and that seems the right straight-forward API for it.
LineEdit
/TextInput
supports a read-only
property and it's possible to programmatically set the selection after https://github.com/slint-ui/slint/pull/4197 .
Is this possible? It seems like an important feature but as far as I can tell you can only select text in an enabled TextEdit or TextInput. But I want to be able to select text without allowing it to be editable or showing a blinking cursor always.
I think one possible solution would be to have a
selectable: [true/false];
property on the generic Text, and maybe give it to the other widgets that can show text as well.