aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joakim Bygdell <j.bygdell@gmail.com>2017-07-25 21:49:18 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-07-26 14:13:22 +0900
commit1ebd7dd4303efb4938b1131f0127ad680746666a (patch)
tree49a720962740ae2d7fbf281ab07f0b49c33dc9aa
parent25fd8c172709f4ac9a53ad2db530786fce16b15f (diff)
downloadsubsurface-1ebd7dd4303efb4938b1131f0127ad680746666a.tar.gz
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>
-rw-r--r--mobile-widgets/qml/SsrfButton.qml1
1 files changed, 1 insertions, 0 deletions
diff --git a/mobile-widgets/qml/SsrfButton.qml b/mobile-widgets/qml/SsrfButton.qml
index bd1dffe8f..1584198fa 100644
--- a/mobile-widgets/qml/SsrfButton.qml
+++ b/mobile-widgets/qml/SsrfButton.qml
@@ -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