diff options
author | Thomas Hartmann <Thomas.Hartmann@theqtcompany.com> | 2015-02-26 14:07:36 +0100 |
---|---|---|
committer | Thomas Hartmann <Thomas.Hartmann@digia.com> | 2015-02-27 13:15:11 +0000 |
commit | 66de6538f6977439563730b9ddf0e59676c724b8 (patch) | |
tree | e83cfc6068f481090c518bd5e2df818f5ef9e8af | |
parent | 4cd583a05b467d013e7bf80d305c25e772c6cbde (diff) | |
download | qtquickcontrols-66de6538f6977439563730b9ddf0e59676c724b8.tar.gz |
Examples: Adjust gallery example for designer
* Giving every file a default size
Change-Id: Ied25b5a4c142be98fdbea27c268782b2d337bb4a
Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
4 files changed, 9 insertions, 0 deletions
diff --git a/examples/quick/controls/gallery/main.qml b/examples/quick/controls/gallery/main.qml index a6e76f75..ab3d8d32 100644 --- a/examples/quick/controls/gallery/main.qml +++ b/examples/quick/controls/gallery/main.qml @@ -49,6 +49,9 @@ ApplicationWindow { visible: true title: "Qt Quick Controls Gallery" + width: 640 + height: 480 + MessageDialog { id: aboutDialog icon: StandardIcon.Information diff --git a/examples/quick/controls/gallery/qml/ButtonPage.qml b/examples/quick/controls/gallery/qml/ButtonPage.qml index dfaaa8f7..b6db20de 100644 --- a/examples/quick/controls/gallery/qml/ButtonPage.qml +++ b/examples/quick/controls/gallery/qml/ButtonPage.qml @@ -44,6 +44,8 @@ import QtQuick.Controls 1.2 ScrollView { id: page + implicitWidth: 640 + implicitHeight: 200 horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff diff --git a/examples/quick/controls/gallery/qml/InputPage.qml b/examples/quick/controls/gallery/qml/InputPage.qml index bf51632c..66042967 100644 --- a/examples/quick/controls/gallery/qml/InputPage.qml +++ b/examples/quick/controls/gallery/qml/InputPage.qml @@ -44,6 +44,8 @@ import QtQuick.Controls 1.2 ScrollView { id: page + implicitWidth: 640 + implicitHeight: 400 horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff diff --git a/examples/quick/controls/gallery/qml/ProgressPage.qml b/examples/quick/controls/gallery/qml/ProgressPage.qml index 4ca52af1..416e936a 100644 --- a/examples/quick/controls/gallery/qml/ProgressPage.qml +++ b/examples/quick/controls/gallery/qml/ProgressPage.qml @@ -44,6 +44,8 @@ import QtQuick.Controls 1.2 ScrollView { id: page + implicitWidth: 640 + implicitHeight: 400 horizontalScrollBarPolicy: Qt.ScrollBarAlwaysOff |