diff options
author | Joakim Bygdell <j.bygdell@gmail.com> | 2017-07-25 21:49:18 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-26 14:13:22 +0900 |
commit | 1ebd7dd4303efb4938b1131f0127ad680746666a (patch) | |
tree | 49a720962740ae2d7fbf281ab07f0b49c33dc9aa | |
parent | 25fd8c172709f4ac9a53ad2db530786fce16b15f (diff) | |
download | subsurface-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.qml | 1 |
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 |