Modified vertical alignments of simple widgets on OSX
authorTero Ahola <tero.ahola@digia.com>
Tue, 7 Aug 2012 12:10:47 +0000 (15:10 +0300)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 18 Oct 2012 19:45:46 +0000 (21:45 +0200)
commit8b6de4677142cab41790ca50ce6c7f1efbab5de8
tree567b9f0567be137d25244291e81578562f4acac1
parente6cbf2f9858f88f2148e80e528f5aaddc91373a1
Modified vertical alignments of simple widgets on OSX

Adding QCheckBox, QComboBox, QLineEdit etc. into an HBox layout or grid
layout makes the layout look like a snake's trail. Fixed the positioning
of these widgets to make the layouts visually more appealing.

Updated qmacstyle auto-test accordingly.

Task-number: QTBUG-13635
Ammended-by: Gabriel de Dietrich
Change-Id: I89461f9aad68ea8488070ed06257b9b8e7f493c5
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
14 files changed:
src/widgets/styles/qmacstyle_mac.mm
tests/auto/widgets/styles/qmacstyle/tst_qmacstyle.cpp
tests/auto/widgets/styles/qstylesheetstyle/tst_qstylesheetstyle.cpp
tests/manual/manual.pro
tests/manual/qlayout/gridwidget.cpp [new file with mode: 0644]
tests/manual/qlayout/gridwidget.h [new file with mode: 0644]
tests/manual/qlayout/hbwidget.cpp [new file with mode: 0644]
tests/manual/qlayout/hbwidget.h [new file with mode: 0644]
tests/manual/qlayout/main.cpp [new file with mode: 0644]
tests/manual/qlayout/mainwindow.cpp [new file with mode: 0644]
tests/manual/qlayout/mainwindow.h [new file with mode: 0644]
tests/manual/qlayout/qlayout.pro [new file with mode: 0644]
tests/manual/qlayout/vbwidget.cpp [new file with mode: 0644]
tests/manual/qlayout/vbwidget.h [new file with mode: 0644]