diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2017-07-17 12:07:19 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-07-18 00:49:31 -0700 |
commit | 0104d7444ee5fdc11f8e4949f6a1fe718aa169dc (patch) | |
tree | 6de4ca524200a70e9959fa6e40f0d47dbde31ef3 /mobile-widgets/qml/main.qml | |
parent | 025efc12d469017b068bdb14a78f664c47be5ac1 (diff) | |
download | subsurface-0104d7444ee5fdc11f8e4949f6a1fe718aa169dc.tar.gz |
QML UI: Download from DC: smaller font for connection
Also style all three drop downs the same (otherwise the left edge of the
text doesn't align).
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'mobile-widgets/qml/main.qml')
-rw-r--r-- | mobile-widgets/qml/main.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mobile-widgets/qml/main.qml b/mobile-widgets/qml/main.qml index 2cce06607..7c12f845f 100644 --- a/mobile-widgets/qml/main.qml +++ b/mobile-widgets/qml/main.qml @@ -377,8 +377,9 @@ if you have network connectivity and want to sync your data to cloud storage."), QtObject { id: subsurfaceTheme - property int titlePointSize: Math.round(fontMetrics.font.pointSize * 1.5) - property int smallPointSize: Math.round(fontMetrics.font.pointSize * 0.8) + property int regularPointSize: fontMetrics.font.pointSize + property int titlePointSize: Math.round(regularPointSize * 1.5) + property int smallPointSize: Math.round(regularPointSize * 0.8) // colors currently in use property string currentTheme |