summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qcalendarwidget.cpp
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@digia.com>2014-10-21 10:49:54 +0200
committerJan Arve Sæther <jan-arve.saether@theqtcompany.com>2014-10-22 07:23:28 +0200
commitc5bc66df2fd976f4e055c579f6918138d3accd87 (patch)
treea331bb6336c85fef555b9cb46446b02fbe7aead4 /src/widgets/widgets/qcalendarwidget.cpp
parent2fcc88d02131b0fd64857a2646381653b410f053 (diff)
Respect minimum size of heightForWidth layouts
Since we cannot support heightForWidth constraints on toplevel windows, it is impossible to solve this perfectly: if the window is resizable at all, the user will be able to resize it too small. Our old solution was just to give up and allow completely free resizing, even down to 0x0. This makes very little sense. It is clearly better to use the minimum size that we have already computed, even though it is not perfect. This reverts a behavior change introduced in commit 36e9516f85fbb9c9a236f5ca034d5a0126d86c12 (September 9th, 2002) [ChangeLog][QtWidgets][QLayout] Widgets and dialogs containing layouts with heightForWidth (such as a label with word wrap) will no longer get a minimum size of 0x0. Task-number: QTBUG-37673 Change-Id: If26b7ef9c80edbf9d54c6519b36646df408b7652 Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'src/widgets/widgets/qcalendarwidget.cpp')
0 files changed, 0 insertions, 0 deletions