diff options
| author | Jens Bache-Wiig <jens.bache-wiig@digia.com> | 2013-10-14 13:06:10 +0200 |
|---|---|---|
| committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-15 18:18:38 +0200 |
| commit | d9af37c1456e3678094b18715b1dae382aa78ee0 (patch) | |
| tree | b4dd2f0db052f12e49a48518fb34d9b59821714b /src/controls/Styles/Base/SliderStyle.qml | |
| parent | 70103a369a492c02b8135d2f261ed0d7252ca5ad (diff) | |
Improved font scalability for Base style
This should make it useable on hight dpi
tablets and desktops where font sizes are
larger.
Change-Id: I8c8e7688927a0b54e3f95c276c743aaa31e8a4d9
Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
Diffstat (limited to 'src/controls/Styles/Base/SliderStyle.qml')
| -rw-r--r-- | src/controls/Styles/Base/SliderStyle.qml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/controls/Styles/Base/SliderStyle.qml b/src/controls/Styles/Base/SliderStyle.qml index fe3558c5b..f55e7dd8d 100644 --- a/src/controls/Styles/Base/SliderStyle.qml +++ b/src/controls/Styles/Base/SliderStyle.qml @@ -96,8 +96,9 @@ Style { You can access the slider through the \c control property */ property Component handle: Item { - implicitWidth: 20 - implicitHeight: 18 + implicitWidth: implicitHeight * 1.1 + implicitHeight: TextSingleton.implicitHeight + BorderImage { anchors.fill: parent source: "images/button.png" |
