diff options
author | Jan Mulder <jlmulder@xs4all.nl> | 2018-09-25 19:58:12 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-09-26 08:38:53 -0700 |
commit | be1d3a7986a8edc5f72ee7efdba5ec4618cd8870 (patch) | |
tree | 53518d1fb9a66ebcbd39dfab34f8439e29219636 /mobile-widgets/qml/SsrfButton.qml | |
parent | f6ee900826b9f5c81382cd961cfe3e6bee4d9bdb (diff) | |
download | subsurface-be1d3a7986a8edc5f72ee7efdba5ec4618cd8870.tar.gz |
mobile, QML UI: ssrfButton and download controls resizable
Make the ssrfButton and the pull down menu's on the download page
resizable. Notice that also the contents of the pulldown
menu's is scaled based on the font size.
Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'mobile-widgets/qml/SsrfButton.qml')
-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 c9441995e..3f57ea6e0 100644 --- a/mobile-widgets/qml/SsrfButton.qml +++ b/mobile-widgets/qml/SsrfButton.qml @@ -15,6 +15,7 @@ Button { contentItem: Text { id: buttonText text: root.text + font.pointSize: subsurfaceTheme.regularPointSize anchors.centerIn: buttonBackground color: root.pressed ? subsurfaceTheme.darkerPrimaryTextColor :subsurfaceTheme.primaryTextColor } |