[Interest] QHBoxLayout spacing mismatch between mac os x and windows or linux - Qt-4.8.1

Michael Hartung michael at infinite-drive.com
Fri May 4 12:20:58 CEST 2012


Hi,

A QHBoxLayout array of:
1.QToolButton/icon   2.QCheckBox   3.QToolButton/icon

acts as the layout for a QFrame.


Only on osx 2. is not centered but hugs a bit with 3.
Currently I workaround with "insertSpacing(2, 8)" on "darwin"...

Any ideas for a solution...?

Michael


-- 
Best regards,
Michael Hartung
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MacosxLayout.png
Type: image/png
Size: 8299 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120504/ce43bce2/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LinuxLayout.png
Type: image/png
Size: 8002 bytes
Desc: not available
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120504/ce43bce2/attachment-0001.png>


More information about the Interest mailing list