Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. TextInput Cursor Anchor Not Displaying just Below Cursor

TextInput Cursor Anchor Not Displaying just Below Cursor

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
c++qmltextinput
3 Posts 2 Posters 900 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Jai_Simha
    wrote on 22 Jul 2020, 06:28 last edited by
    #1

    i am developing one android application in Qt QML , i am facing one problem with text input cursor anchor (text handler), actually this anchor should display just below the cursor of TextInput , i don't why it is displaying somewhere below the cursor you can see in this screen shot Screenshot_20200722-095238.jpg
    but i tried TextInput field in a prototype project, there is it is working fine, i don't why it is not working in my project ( it is a existing project) could you please any body help me ? below you can find the code
    Code


    Rectangle {
    id: txtRect
    width: parent.width * 0.9
    height: 20
    anchors.top: parent.top
    anchors.topMargin: 200
    anchors.left: parent.left
    anchors.leftMargin: (parent.width * 0.1)/2
    color: "white"
    TextField {
    id: mTxtInput
    anchors.fill: parent
    color: "black"
    }
    }

    even i tried with TextField also , still result is same .

    1 Reply Last reply
    0
    • Y Offline
      Y Offline
      Yunus
      wrote on 22 Jul 2020, 07:24 last edited by
      #2

      This is not about text input cursor, this is about android itself

      J 1 Reply Last reply 24 Jul 2020, 04:58
      0
      • Y Yunus
        22 Jul 2020, 07:24

        This is not about text input cursor, this is about android itself

        J Offline
        J Offline
        Jai_Simha
        wrote on 24 Jul 2020, 04:58 last edited by
        #3

        @Yunus , Thank you for reply , yes it is a text handle feature in android, my question is, anchor (which is in blue color) not displaying exactly below the cursor in my App, but if i create and deploy a prototype project for TextInput in same mobile it is working fine , you can see below

        TextInput.jpg

        1 Reply Last reply
        0

        3/3

        24 Jul 2020, 04:58

        • Login

        • Login or register to search.
        3 out of 3
        • First post
          3/3
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved