mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 20:33:24 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue