QML UI: add missing id line in our button
The missing id line in our own button generates an error in log and makes the buttons to fat. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com>
This commit is contained in:
parent
25fd8c1727
commit
1ebd7dd430
@ -13,6 +13,7 @@ Button {
|
||||
height: buttonText.height * 2
|
||||
}
|
||||
contentItem: Text {
|
||||
id: buttonText
|
||||
text: root.text
|
||||
anchors.centerIn: buttonBackground
|
||||
color: root.pressed ? subsurfaceTheme.darkerPrimaryTextColor :subsurfaceTheme.primaryTextColor
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user