Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Breeze Style for QQC2
Commits
5c2def15
Commit
5c2def15
authored
May 07, 2021
by
Noah Davis
🌵
Browse files
SliderGroove: Enable tickmarks when stepSize > 0
parent
94d30e41
Changes
1
Hide whitespace changes
Inline
Side-by-side
style/impl/SliderGroove.qml
View file @
5c2def15
...
...
@@ -107,8 +107,7 @@ Rectangle {
}
}
// Maybe enable this? Depends on what our app devs want.
/*Loader {
Loader
{
id
:
tickmarkLoader
visible
:
root
.
control
.
stepSize
>
0
active
:
visible
...
...
@@ -120,7 +119,27 @@ Rectangle {
}
width
:
root
.
vertical
?
implicitWidth
:
root
.
width
-
parent
.
radius
height
:
root
.
horizontal
?
implicitHeight
:
root
.
height
-
parent
.
radius
sourceComponent: Grid {
sourceComponent
:
markGridComponent
}
Loader
{
id
:
tickmarkLoader2
visible
:
tickmarkLoader
.
visible
active
:
visible
anchors
{
left
:
parent
.
left
top
:
parent
.
top
leftMargin
:
root
.
horizontal
?
parent
.
radius
:
-
width
-
Kirigami
.
Units
.
smallBorder
topMargin
:
root
.
vertical
?
parent
.
radius
:
-
height
-
Kirigami
.
Units
.
smallBorder
}
width
:
tickmarkLoader
.
width
height
:
tickmarkLoader
.
height
sourceComponent
:
markGridComponent
}
Component
{
id
:
markGridComponent
Grid
{
id
:
markGrid
rows
:
root
.
vertical
?
markRepeater
.
model
:
1
columns
:
root
.
horizontal
?
markRepeater
.
model
:
1
...
...
@@ -138,5 +157,5 @@ Rectangle {
}
}
}
}
*/
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment