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

QLineEdit's clear button is half-resolution on Retina displays

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 5.3.0
    • None
    • Mac OS X

      In Qt 5.2, QLineEdit was given the new clearButtonEnabled property. On Macs that support Retina resolution, the clear button icon appears at half resolution.

      Steps to reproduce

      1. Use a Mac with a Retina display
      2. In Qt Creator, create a new Qt Widgets Application
      3. Open MainWindow.ui
      4. Add a QLineEdit
      5. Turn on clearButtonEnabled
      6. Observe that the pixels of the clear button icon are twice the size of the pixels of the text and widget border (see attached screenshot)

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sorvig Morten Sørvig
            smokris Steve Mokris
            Votes:
            4 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes