aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2018-02-20 13:39:55 +0100
committerMitch Curtis <mitch.curtis@qt.io>2018-02-20 12:50:20 +0000
commit0ead7da722e16ab41cb8608baa40b3ffdddbd1d6 (patch)
treefd22d7f34a214c574077c7a0c6fa1d4a347e3645 /tests/manual
parent55fa922b4f9350c320a4a949b70498269f0aaf79 (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.qml2
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