Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
5.9.2
-
None
-
Windows 10, Qt Designer.
-
b03557287 (dev), 9c84620d4 (6.6)
Description
I want my button icon to be on the right instead of the left. I create a QPushButton, give it an icon, then set the layoutDirection to RightToLeft.
The editor shows the text left aligned, which seems wrong, but I can't say for certain that it's a defect.
I preview in Fusion style. The button text is now so far to the left that it is cropped.
Attachments
For Gerrit Dashboard: QTBUG-64373 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
519466,4 | QPushButton: fix QPushButton with icon in rtl mode | dev | qt/qtbase | Status: MERGED | +2 | 0 |
519957,2 | QPushButton: fix QPushButton with icon in rtl mode | 6.6 | qt/qtbase | Status: MERGED | +2 | 0 |