Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.16, 6.7.3, 6.8
-
None
Description
There is an issue on Mac OS with layouts where QWidgets are not "aligned" in a nested sub layout with the widgets of the parent layout.
See attached screenshots.
It might be related to :
https://bugreports.qt.io/browse/QTBUG-2699
https://bugreports.qt.io/browse/QTBUG-14591
Which date from more than 15 years ago.
Using
setAttribute(Qt::WA_LayoutUsesWidgetRect);
is not a fix and his not working properly in a customer case I am working on.
Attached is a sample program.
Attachments
Issue Links
- relates to
-
QTBUG-63867 OSX: wrong button layout
- Reported
-
QTBUG-14591 QHBoxLayout miscalculates size needed for QPushButton-derived subclasses
- Closed
-
QTBUG-2699 QMacStyle: QPushButtons always have space below when in a QLayout
- Closed