Commit 7417fb99 authored by Yasen's avatar Yasen

Updating the new QGC Combobox Items

Updating the items to be inline with the theme.
parent 6ebae0ae
......@@ -30,6 +30,20 @@ ComboBox {
border.width: enabled ? 1 : 0
border.color: "#999"
}
delegate: ItemDelegate {
width: control.width
contentItem: Text {
text: modelData
color: qgcPal.text
verticalAlignment: Text.AlignVCenter
}
background: Rectangle {
color: qgcPal.window
}
highlighted: control.highlightedIndex === index
}
/*! This defines the label of the button. */
contentItem: Item {
......
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