settings: add config option for floating bar

This commit is contained in:
end-4
2025-06-29 23:10:13 +02:00
parent 18ea20f1df
commit ecb2f246b6
@@ -52,6 +52,19 @@ ContentPage {
ContentSection {
title: "Bar"
ConfigSelectionArray {
currentValue: ConfigOptions.bar.cornerStyle
configOptionName: "bar.cornerStyle"
onSelected: (newValue) => {
ConfigLoader.setConfigValueAndSave("bar.cornerStyle", newValue);
}
options: [
{ displayName: "Hug", value: 0 },
{ displayName: "Float", value: 1 },
{ displayName: "Plain rectangle", value: 2 }
]
}
ContentSubsection {
title: "Appearance"
ConfigRow {