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