Unsolved Regarding TextField in qml
-
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 overridecursorDelegate
as a workaround: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 ?