Commit 62428fa1 authored by Wescoeur's avatar Wescoeur

fix(ui/modules/Common/Form/ComboBox): add a left margin (qt 5.9)

parent ca1f4a44
......@@ -33,10 +33,18 @@ ComboBox {
// ---------------------------------------------------------------------------
contentItem: RowLayout {
spacing: ComboBoxStyle.contentItem.spacing
contentItem: Item {
height: comboBox.height
width: comboBox.width
RowLayout {
anchors {
fill: parent
leftMargin: ComboBoxStyle.contentItem.leftMargin
}
spacing: ComboBoxStyle.contentItem.spacing
Icon {
icon: Logic.getSelectedEntryIcon()
iconSize: ComboBoxStyle.contentItem.iconSize
......@@ -56,6 +64,7 @@ ComboBox {
text: Logic.getSelectedEntryText()
}
}
}
// ---------------------------------------------------------------------------
......
......@@ -22,6 +22,7 @@ QtObject {
property QtObject contentItem: QtObject {
property int iconSize: 20
property int leftMargin: 10
property int spacing: 5
property QtObject text: QtObject {
......
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