Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.14.0
-
7bee4e9cb3750be4573e1872f52023081b014500 (qt/qtbase/dev) 8a3440df42f39814050cf8b11d4eee103af8f41a (qt/qtbase/5.15)
Description
QLabel when it is configured to accept focus: when it gets focus (either at startup or the user clicks on it or tabs to it), the text in the label moves a few pixels down.
Please refer to the attached sample, When the application starts, the text of the first label is already shifted down a few pixels. As soon as a click on the second label (or press Tab to move the focus), its text shifts down as well.
Attachments
For Gerrit Dashboard: QTBUG-84080 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
299895,2 | QLabel: lay out text using a text control when label can get focus | dev | qt/qtbase | Status: MERGED | +2 | 0 |
301025,2 | QLabel: lay out text using a text control when label can get focus | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |
301889,3 | QLabel: create the text control when getting polished, if necessary | dev | qt/qtbase | Status: MERGED | +2 | 0 |
303192,2 | QLabel: create the text control when getting polished, if necessary | 5.15 | qt/qtbase | Status: MERGED | +2 | 0 |