fix(ui): adapt icon position labels based on bar orientation

- Add barIsVertical property to BarWidgetSettingsDialog
- Pass barIsVertical from NSectionEditor to dialog
- Show Top/Bottom for vertical bar, Left/Right for horizontal bar
- Keep fallback to oppositeDirection when iconPosition not set
- Fix BarPillVertical iconPosition mapping (left=top, right=bottom)
This commit is contained in:
loner
2026-04-06 07:12:49 +08:00
parent 36a9d7afee
commit b6a85d88e7
5 changed files with 23 additions and 4 deletions
+2
View File
@@ -124,6 +124,8 @@
"icon-position-label": "Icon position",
"icon-position-left": "Left",
"icon-position-right": "Right",
"icon-position-top": "Top",
"icon-position-bottom": "Bottom",
"ipc-identifier-description": "Unique identifier for IPC commands. Use this identifier with 'qs -c noctalia-shell ipc call cb [action] [identifier]' to control this button via IPC.",
"ipc-identifier-label": "IPC Identifier",
"left-click-description": "Command to execute when the button is left-clicked.",