diff options
author | Mitch Curtis <mitch.curtis@qt.io> | 2018-02-20 13:39:55 +0100 |
---|---|---|
committer | Mitch Curtis <mitch.curtis@qt.io> | 2018-02-20 12:50:20 +0000 |
commit | 0ead7da722e16ab41cb8608baa40b3ffdddbd1d6 (patch) | |
tree | fd22d7f34a214c574077c7a0c6fa1d4a347e3645 /tests/manual | |
parent | 55fa922b4f9350c320a4a949b70498269f0aaf79 (diff) |
screenshots: account for header and footer in window height
Change-Id: I87e27ea31f5c44049c09ba1b128a38b5d0cc08b0
Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/screenshots/screenshots.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/manual/screenshots/screenshots.qml b/tests/manual/screenshots/screenshots.qml index 2b031dce..20275b17 100644 --- a/tests/manual/screenshots/screenshots.qml +++ b/tests/manual/screenshots/screenshots.qml @@ -58,7 +58,7 @@ ApplicationWindow { title: "Qt Quick Controls 2 - Screenshots" visible: true width: Math.max(600, loader.implicitWidth) - height: Math.max(600, loader.implicitHeight) + height: Math.max(600, loader.implicitHeight + header.implicitHeight + footer.implicitHeight) property string currentFilePath property url lastSaveUrl |