1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-26 14:32:52 -05:00

make the volume knob in media player consistent

This commit is contained in:
bbedward
2025-09-21 20:56:57 -04:00
parent bd72cf3adf
commit c464bb3e47
3 changed files with 134 additions and 37 deletions

View File

@@ -687,7 +687,7 @@ Item {
}
StyledText {
text: "Transparency Settings"
text: "Widget Styling"
font.pixelSize: Theme.fontSizeLarge
font.weight: Font.Medium
color: Theme.surfaceText
@@ -818,6 +818,40 @@ Item {
}
}
}
Rectangle {
width: parent.width
height: 1
color: Theme.outline
opacity: 0.2
}
Column {
width: parent.width
spacing: Theme.spacingS
StyledText {
text: "Corner Radius (0 = square corners)"
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceText
font.weight: Font.Medium
}
DankSlider {
width: parent.width
height: 24
value: SettingsData.cornerRadius
minimum: 0
maximum: 32
unit: ""
showValue: true
wheelEnabled: false
onSliderValueChanged: newValue => {
SettingsData.setCornerRadius(
newValue)
}
}
}
}
}

View File

@@ -821,33 +821,6 @@ Item {
}
}
Column {
width: parent.width
spacing: Theme.spacingS
StyledText {
text: "Corner Radius (0 = square corners)"
font.pixelSize: Theme.fontSizeSmall
color: Theme.surfaceText
font.weight: Font.Medium
}
DankSlider {
width: parent.width
height: 24
value: SettingsData.cornerRadius
minimum: 0
maximum: 32
unit: ""
showValue: true
wheelEnabled: false
thumbOutlineColor: Theme.surfaceContainer
onSliderValueChanged: newValue => {
SettingsData.setCornerRadius(
newValue)
}
}
}
DankToggle {
width: parent.width