Commit 88b44332 authored by Johnny Jazeix's avatar Johnny Jazeix
Browse files

Set GCText for button and combobox texts

parent 9c061374
......@@ -34,4 +34,8 @@ ButtonStyle {
GradientStop { position: 1 ; color: control.pressed ? "#44ff00" : "#f8d600" }
}
}
label: GCText {
text: control.text
wrapMode: Text.WordWrap
}
}
......@@ -35,4 +35,13 @@ ComboBoxStyle {
GradientStop { position: 1 ; color: control.pressed ? "#44ff00" : "#f8d600" }
}
}
label: Item {
anchors.fill: parent
GCText {
text: control.currentText
wrapMode: Text.WordWrap
anchors.verticalCenter: parent.verticalCenter
anchors.horizontalCenter: parent.horizontalCenter
}
}
}
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