mirror of
https://github.com/noctalia-dev/noctalia-shell.git
synced 2026-05-11 17:08:27 +08:00
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:
@@ -267,7 +267,8 @@ NBox {
|
||||
"widgetData": widgetData,
|
||||
"widgetId": widgetData.id,
|
||||
"sectionId": root.sectionId,
|
||||
"screen": root.screen
|
||||
"screen": root.screen,
|
||||
"barIsVertical": root.barIsVertical
|
||||
});
|
||||
|
||||
if (dialog) {
|
||||
|
||||
Reference in New Issue
Block a user