Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.3.0
-
None
-
Mac OS X
Description
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
- Use a Mac with a Retina display
- In Qt Creator, create a new Qt Widgets Application
- Open MainWindow.ui
- Add a QLineEdit
- Turn on clearButtonEnabled
- 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)
Attachments
For Gerrit Dashboard: QTBUG-39517 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
108758,3 | QCommonStyle: standardPixmap() high-dpi support | 5.5 | qt/qtbase | Status: ABANDONED | -2 | 0 |
183952,2 | Use the 2.0 icon for the clear icon if on a 2.0 dpr display | 5.8 | qt/qtbase | Status: ABANDONED | -1 | 0 |