diff --git a/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml b/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml index a6cdc5df4c45acc7dc93b75080e63bf81afa8564..0abb6e4b5b9d3ed5501f0b1ecafb5f56fd577bc7 100644 --- a/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml +++ b/share/qtcreator/qmldesigner/propertyeditor/Qt/StandardTextGroupBox.qml @@ -35,31 +35,15 @@ GroupBox { } } } + QWidget { layout: HorizontalLayout { Label { text: "Alignment" } - ComboBox { - baseStateFlag: isBaseState; - items : { ["AlignLeft", "AlignRight", "AlignHCenter"] } - backendValue: backendValues.horizontalAlignment; - currentText: backendValues.horizontalAlignment.value; - onItemsChanged: { - currentText = backendValues.horizontalAlignment.value; - } - - } - ComboBox { - baseStateFlag: isBaseState; - items : { ["AlignTop", "AlignBottom", "AlignVCenter"] } - backendValue: backendValues.verticalAlignment; - currentText: backendValues.verticalAlignment.value; - onItemsChanged: { - currentText = backendValues.verticalAlignment.value; - } - } + AlignmentHorizontalButtons {} + AlignmentVerticalButtons {} } }