fix: ensure separator line underneath app name is always visible in system tray context menu

This commit is contained in:
Sho 2026-08-02 14:30:40 +09:00
parent 9956338dcf
commit 3a7270f69c

View File

@ -2876,12 +2876,13 @@ Connections {
} }
} }
// Solid Divider (Only visible if app has menu items underneath) // Solid Divider underneath the app name
Rectangle { Rectangle {
Layout.fillWidth: true Layout.fillWidth: true
Layout.preferredHeight: 1 Layout.preferredHeight: 1
color: Theme.currentLine color: Theme.currentLine
visible: (root.activeTrayItem && root.activeTrayItem.hasMenu && root.activeTrayMenuOpener && root.activeTrayMenuOpener.children && root.activeTrayMenuOpener.children.length > 0) Layout.topMargin: 2
Layout.bottomMargin: 2
} }
// Render Pure Native DBus App Menu Items (Pre-Cached Real Time Model) // Render Pure Native DBus App Menu Items (Pre-Cached Real Time Model)