Revert "Dock: add position option"

This reverts commit 6235d2b3d6.
This commit is contained in:
Ly-sec
2025-10-04 18:43:55 +02:00
parent 1f13fda4a4
commit b1e5f406e3
11 changed files with 27 additions and 399 deletions
-27
View File
@@ -29,33 +29,6 @@ ColumnLayout {
description: I18n.tr("settings.dock.appearance.section.description")
}
ColumnLayout {
spacing: Style.marginXXS * scaling
Layout.fillWidth: true
NLabel {
label: I18n.tr("settings.dock.appearance.position.label")
description: I18n.tr("settings.dock.appearance.position.description")
}
NComboBox {
Layout.fillWidth: true
model: [{
"key": "bottom",
"name": I18n.tr("settings.dock.appearance.position.bottom")
}, {
"key": "top",
"name": I18n.tr("settings.dock.appearance.position.top")
}, {
"key": "left",
"name": I18n.tr("settings.dock.appearance.position.left")
}, {
"key": "right",
"name": I18n.tr("settings.dock.appearance.position.right")
}]
currentKey: Settings.data.dock.position || "bottom"
onSelected: key => Settings.data.dock.position = key
}
}
NToggle {
label: I18n.tr("settings.dock.appearance.auto-hide.label")
description: I18n.tr("settings.dock.appearance.auto-hide.description")