Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-49147

Qt Quick Textfield – remove placeholder text when blinking cursor is active

XMLWordPrintable

    • qtquickcontrols: 1adb58bb6d31234dc9e05ce95b60aa1be7c75373 & qtquickcontrols2: 92aa5333846081b294fc332e64f7e49b329edf92

      Currently, when a Qt Quick textfield is clicked – the cursor starts blinking in the center of the textfield without the background placeholder-text disappearing immediately, as it does in the QLineEdit. On occasion, when the field is center-aligned, the placeholder-text and the blinking cursor eclipse in such a way that that looks dissonant and irritating. Maybe there could be some bool to make the placeholder-text vanish immediately upon click-event?

        1. screenshot.png
          21 kB
          J-P Nurmi
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Unassigned Unassigned
            Annor Oskar Pyke
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes