Merge pull request #813 from alaughlin/dock-border-radius

Dock: make border radius configurable
This commit is contained in:
Lemmy
2025-11-21 12:05:25 -05:00
committed by GitHub
4 changed files with 25 additions and 1 deletions
+19
View File
@@ -81,6 +81,25 @@ ColumnLayout {
}
}
ColumnLayout {
visible: Settings.data.dock.enabled
spacing: Style.marginXXS
Layout.fillWidth: true
NLabel {
label: I18n.tr("settings.dock.appearance.border-radius.label")
description: I18n.tr("settings.dock.appearance.border-radius.description")
}
NValueSlider {
Layout.fillWidth: true
from: 0
to: 1
stepSize: 0.01
value: Settings.data.dock.radiusRatio
onMoved: value => Settings.data.dock.radiusRatio = value
text: Math.floor(Settings.data.dock.radiusRatio * 100) + "%"
}
}
ColumnLayout {
visible: Settings.data.dock.enabled
spacing: Style.marginXXS