NPill: allow to open left or right depending on

This commit is contained in:
LemmyCook
2025-08-31 15:45:10 -04:00
parent 2498f0273d
commit 3683d3c29b
7 changed files with 73 additions and 11 deletions
+5
View File
@@ -11,6 +11,9 @@ Row {
property ShellScreen screen
property real scaling: ScalingService.scale(screen)
property string barSection: ""
property int sectionWidgetIndex: 0
property int sectionWidgetsCount: 0
// Use the shared service for keyboard layout
property string currentLayout: KeyboardLayoutService.currentLayout
@@ -20,6 +23,8 @@ Row {
NPill {
id: pill
rightOpen: BarWidgetRegistry.getNPillDirection(root)
icon: "keyboard_alt"
iconCircleColor: Color.mPrimary
collapsedIconColor: Color.mOnSurface