diff options
author | Tor Arne Vestbø <tor.arne.vestbo@digia.com> | 2013-12-04 16:35:28 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-05 13:41:53 +0100 |
commit | cd1ce77bf8a3520dee1c2703405c2bf2762360a8 (patch) | |
tree | d156adbc5bac64b5b09e9e1ab7c4b01e74d045c2 /src/widgets/widgets/qtoolbararealayout.cpp | |
parent | 95822e28e2b83730bab01b0c2f79f3c5a17d4090 (diff) |
iOS: Apply default geometry to platform window if not set on QWindow
If a platform window is created from a QWindow without setting a valid
size or position on the QWindow, the platform window is expected to
apply sane defaults. We use the baseclass initialGeometry() function
for this, similar to other platform plugins.
The default geometry unless otherwise set and/or calculated based on
size hints is that of the screen's available geometry.
An improvement to this is to detect whenever we apply the screen
geometry, and also apply the appropriate window state, but that
needs more testing.
Change-Id: I02b12064ce6d55c04fe0cc2cd1d2816ca1113f40
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
Diffstat (limited to 'src/widgets/widgets/qtoolbararealayout.cpp')
0 files changed, 0 insertions, 0 deletions