diff options
author | Brook Cronin <brook.cronin@qt.io> | 2024-02-02 13:44:42 +0100 |
---|---|---|
committer | Brook Cronin <brook.cronin@qt.io> | 2024-02-02 13:19:09 +0000 |
commit | d83eeb0b8fcffe1c2e5ee0848a723b7e0c71e687 (patch) | |
tree | ed9d9c0d297a9cf5cec5051d146ada7fc0e6cc3c /share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/Layouts/ColumnLayoutSpecifics.qml | |
parent | 916b78aa49806aa79c33446640656268eab468f9 (diff) |
Qml Designer: Add uniform cell size properties to layouts
Change-Id: If2e0958c124cff259b1dbea57dd798711f0a0f1d
Reviewed-by: Pranta Ghosh Dastider <pranta.dastider@qt.io>
Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
Diffstat (limited to 'share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/Layouts/ColumnLayoutSpecifics.qml')
-rw-r--r-- | share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/Layouts/ColumnLayoutSpecifics.qml | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/Layouts/ColumnLayoutSpecifics.qml b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/Layouts/ColumnLayoutSpecifics.qml index 7cdb040956c..2072f13a8e3 100644 --- a/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/Layouts/ColumnLayoutSpecifics.qml +++ b/share/qtcreator/qmldesigner/propertyEditorQmlSources/QtQuick/Layouts/ColumnLayoutSpecifics.qml @@ -44,5 +44,22 @@ Section { ExpandingSpacer {} } + + PropertyLabel { + text: qsTr("Uniform cell size") + tooltip: qsTr("Toggles all cells to have a uniform size.") + visible: majorQtQuickVersion === 6 && minorQtQuickVersion >= 6 + } + + SecondColumnLayout { + CheckBox { + implicitWidth: StudioTheme.Values.twoControlColumnWidth + + StudioTheme.Values.actionIndicatorWidth + backendValue: backendValues.uniformCellSizes + visible: majorQtQuickVersion === 6 && minorQtQuickVersion >= 6 + } + + ExpandingSpacer {} + } } } |