aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/gallery/pages/FramePage.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quickcontrols2/gallery/pages/FramePage.qml')
-rw-r--r--examples/quickcontrols2/gallery/pages/FramePage.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/quickcontrols2/gallery/pages/FramePage.qml b/examples/quickcontrols2/gallery/pages/FramePage.qml
index 4834d04d..5d4b2f7b 100644
--- a/examples/quickcontrols2/gallery/pages/FramePage.qml
+++ b/examples/quickcontrols2/gallery/pages/FramePage.qml
@@ -54,6 +54,8 @@ import QtQuick.Controls 2.12
ScrollablePage {
id: page
+ readonly property string control : "frame"
+
readonly property int itemWidth: Math.max(button.implicitWidth, Math.min(button.implicitWidth * 3, page.availableWidth / 3 * 2))
Column {