summaryrefslogtreecommitdiffstats
path: root/src/tools/uic/cpp/cppwriteinitialization.h
diff options
context:
space:
mode:
authorPiotr Wierciński <piotr.wiercinski@qt.io>2023-11-09 13:29:21 +0100
committerPiotr Wierciński <piotr.wiercinski@qt.io>2023-11-23 12:43:55 +0000
commitb141f22b453f21ddfe6cc110c931bfe5fc43f165 (patch)
treecd267c2ceb04816f06833c91c89472489590ddad /src/tools/uic/cpp/cppwriteinitialization.h
parentd52e3948930985ddbab09c10a075ffeb223aa727 (diff)
wasm: Respect maximum window size in QWasmWindow
Currently we are only checking if windowMinimumSize is not violated, and we dont check windowMaximumSize at all, which may results in windows being bigger than they ought to be. When the sizeHints are updated, call the setGeometry() function which makes sure that size constraints are respected and will resize window if needed. Change-Id: I703bddec85ba6e02eea74a39e06d1f70d59e1677 Reviewed-by: Lorn Potter <lorn.potter@gmail.com> (cherry picked from commit 969bef94549d5bceacd68f7524ce9122d5c7ccae) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> (cherry picked from commit 18ff5201c9aee23a63debf51791c6da9007eac43) Reviewed-by: Piotr Wierciński <piotr.wiercinski@qt.io>
Diffstat (limited to 'src/tools/uic/cpp/cppwriteinitialization.h')
0 files changed, 0 insertions, 0 deletions