diff options
| author | Jan Arve Saether <jan-arve.saether@digia.com> | 2013-10-01 11:23:47 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-01 12:06:28 +0200 |
| commit | 66fb8dd12189232a41164f0f6681699900ef2f3a (patch) | |
| tree | 3bf425a3d9ae1413c2506f811d15a5574acb71d6 /examples/quick/dialogs/systemdialogs/main.cpp | |
| parent | df4fbe3bf0383903288883f6ea9df6566946f406 (diff) | |
Don't apply baseline calculations if Qt.AlignBaseline is not set
Parts of the code assumed that if q_minimumDescent or q_minimumAscent
was valid, it would reserve enough space in each case for the combined
ascents and descents of all items in a row.
The extreme case was when one item had a baseline at its bottom edge,
and the next item had the baseline at its top edge, the layouts minimum
height tried to reserve space for such a case even though baseline
alignment was not desired.
The last case in the test demonstrates such a (valid) case. The problem
was that the same logic was applied to the first case.
Change-Id: Ie24503b1a5f7333f16ed84ebe01ab8d48becb4e2
Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'examples/quick/dialogs/systemdialogs/main.cpp')
0 files changed, 0 insertions, 0 deletions
