summaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols/dialogs/systemdialogs/main.cpp
diff options
context:
space:
mode:
authorAlberto Mardegan <mardy@users.sourceforge.net>2015-11-12 01:56:30 +0200
committerShawn Rutledge <shawn.rutledge@theqtcompany.com>2016-04-13 20:15:18 +0000
commit10f0ae7c571b7e0de41d5fdc5627db6a1ddeb926 (patch)
tree622ecd0110a02a3b2cdc5d52f1b8aeb08639f1f2 /examples/quickcontrols/dialogs/systemdialogs/main.cpp
parent726b6ee9b43652ef198a7df590b08e641dd69377 (diff)
Dialog: allow proper resize and default size for content
Currently Dialog use implicitly positioned items as content. This makes impossible to use item, that can be properly resized with change of dialog window size and has proper default size (set implicit width and height). This change made it use implicit size if there is one item or fallback to previous algorithm, that use childrenRect for explicitly sized and positioned items, so it won't break behavior of the existing applications. [ChangeLog][Dialog] Proper resize and default size for content Task-number: QTBUG-49058 Change-Id: I7fa4da7d5fd39d47f60ba9f43c88f78e75739b0a Initial-patch-by: Nikita Krupenko <krnekit@gmail.com> Reviewed-by: Nikita Krupenko <krnekit@gmail.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
Diffstat (limited to 'examples/quickcontrols/dialogs/systemdialogs/main.cpp')
0 files changed, 0 insertions, 0 deletions