Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.11.2
-
None
-
bbd6c9972206eccc4d2872be44db509ef716c351 (qt/qtquickcontrols2/5.12)
Description
IconLabel's baselineOffset is not aligned with the baseline of its text, this poses problems when using it in a layout with Layout.alignment: Qt.AlignBaseline
IconLabel is the default contentItem for Button.
A workaround is to use a custom contentItem.
See attached picture and code for reproduction.
Attachments
Issue Links
- is duplicated by
-
QTBUG-74030 Button has wrong baselineOffset
-
- Closed
-
For Gerrit Dashboard: QTBUG-71554 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
244577,6 | Fix QQuickIconLabel's baselineOffset | 5.12 | qt/qtquickcontrols2 | Status: MERGED | +2 | 0 |