Some additional styling fixes for the settings pane

This commit is contained in:
Arjen Hiemstra 2015-02-12 17:58:19 +01:00
parent 19754599b7
commit 35c6dbb40c

View File

@ -41,25 +41,32 @@ Rectangle {
Item { Item {
width: parent.width; width: parent.width;
height: childrenRect.height; height: 24;
Label { anchors.right: parent.horizontalCenter; text: "Material"; width: parent.width / 2; } Row {
anchors.fill: parent;
Label { text: "Material"; horizontalAlignment: Text.AlignRight; width: parent.width * 0.6; }
ComboBox { ComboBox {
anchors.left: parent.horizontalCenter; width: parent.width * 0.4;
width: parent.width / 2;
model: ListModel { model: ListModel {
ListElement { text: "PLA"; } ListElement { text: "PLA"; }
ListElement { text: "ABS"; } ListElement { text: "ABS"; }
} }
style: ComboBoxStyle { }
}
} }
} }
Item { Item {
width: parent.width; width: parent.width;
height: childrenRect.height; height: 24;
Label { anchors.right: parent.horizontalCenter; text: "Time"; width: parent.width / 2; } Row {
Label { anchors.left: parent.horizontalCenter; text: "10:10"; width: parent.width / 2; } anchors.fill: parent;
Label { text: "Time"; width: base.width * 0.6; horizontalAlignment: Text.AlignRight; }
Label { text: "10:10"; width: base.width * 0.4; horizontalAlignment: Text.AlignLeft; }
}
} }
Rectangle { color: "black"; height: 1; width: parent.width; } Rectangle { color: "black"; height: 1; width: parent.width; }