aboutsummaryrefslogtreecommitdiff
path: root/components/PrivacyLevel.qml
diff options
context:
space:
mode:
authorJaquee <jaquee.monero@gmail.com>2017-10-22 22:18:55 +0200
committerJaquee <jaquee.monero@gmail.com>2017-10-22 22:18:55 +0200
commitaac7fc613ad473e1001f5727d2268166fc9dec26 (patch)
tree0f20d3218d6dd39fb0018856b439d1462039c0dc /components/PrivacyLevel.qml
parentea49e842159b6de5144b0daaf44e37a093817fbe (diff)
downloadmonzero-gui-aac7fc613ad473e1001f5727d2268166fc9dec26.tar.gz
monzero-gui-aac7fc613ad473e1001f5727d2268166fc9dec26.tar.xz
monzero-gui-aac7fc613ad473e1001f5727d2268166fc9dec26.zip
make privay level slider smoother
Diffstat (limited to 'components/PrivacyLevel.qml')
-rw-r--r--components/PrivacyLevel.qml8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/PrivacyLevel.qml b/components/PrivacyLevel.qml
index 332c1e8a..3528db92 100644
--- a/components/PrivacyLevel.qml
+++ b/components/PrivacyLevel.qml
@@ -116,7 +116,7 @@ Item {
Row {
id: row2
- spacing: ((bar.width - 8) / 2) / 4
+ spacing: bar.width / 14
Repeater {
model: 4
@@ -125,7 +125,7 @@ Item {
id: delegateItem2
currentX: x + row2.x
currentIndex: index
- mainTick: currentIndex === 0 || currentIndex === 3 || currentIndex === 13
+ mainTick: currentIndex === 0
Component.onCompleted: {
row.positions[currentIndex] = delegateItem2
}
@@ -135,7 +135,7 @@ Item {
Row {
id: row1
- spacing: ((bar.width - 8) / 2) / 10
+ spacing: bar.width / 14
Repeater {
model: 10
@@ -144,7 +144,7 @@ Item {
id: delegateItem1
currentX: x + row1.x
currentIndex: index + 4
- mainTick: currentIndex === 0 || currentIndex === 3 || currentIndex === 13
+ mainTick: currentIndex === 13
Component.onCompleted: {
row.positions[currentIndex] = delegateItem1
}