Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
Hi all,
i am using a textfield in qml, i want the data whatever i enter should start from the center of the textfield, Also i want to remove the cursor from the textfield, how can i do this ? Thanks
For some reason cursorVisible: false is not respected, but you can override cursorDelegate as a workaround:
cursorVisible: false
cursorDelegate
TextField { cursorDelegate: Item { } horizontalAlignment: Qt.AlignHCenter }
@jpnurmi thanks for the reply, but cursorDelegate i am not able to use in that. is there any other way ?