From 1ebd7dd4303efb4938b1131f0127ad680746666a Mon Sep 17 00:00:00 2001 From: Joakim Bygdell Date: Tue, 25 Jul 2017 21:49:18 +0200 Subject: 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 --- mobile-widgets/qml/SsrfButton.qml | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3-70-g09d2