aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2018-02-13 10:25:43 +0100
committerMitch Curtis <mitch.curtis@qt.io>2018-02-13 09:29:42 +0000
commit4f9878ffba258674932a7b1611b940e35b72eb8a (patch)
treeace77b08c85231bf44ca6974574b3bea19a20b77 /src
parenta8ffdd80df848f22935c21a9b8cb8d08e06a0e61 (diff)
Universal Dial: decrease handle size from 20 to 14
The handle is not interactive; the whole dial is. As it is now, the handle looks way too big. Before and after this patch: https://imgur.com/a/HEbeh Change-Id: I5db93a3e792a2133f765f69566bdd871598ab3b0 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/imports/controls/universal/Dial.qml4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/imports/controls/universal/Dial.qml b/src/imports/controls/universal/Dial.qml
index 539400cd..d2634713 100644
--- a/src/imports/controls/universal/Dial.qml
+++ b/src/imports/controls/universal/Dial.qml
@@ -56,8 +56,8 @@ T.Dial {
}
handle: Rectangle {
- implicitWidth: 20
- implicitHeight: 20
+ implicitWidth: 14
+ implicitHeight: 14
x: background.x + background.width / 2 - handle.width / 2
y: background.y + background.height / 2 - handle.height / 2