Commit 20d21db2 authored by Thomas Hartmann's avatar Thomas Hartmann
Browse files

QmlDesigner.propertyEditor: add buttons for alignment

parent e196ad07
......@@ -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 {}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment