mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-29 14:37:47 -04:00
tray: open overflow item menus at the icon (#4002)
port 2.0
(cherry picked from commit a1c8db2558)
This commit is contained in:
1 parent
bee384abbd
commit
2c42fb8492
1 file changed
+3
-1
@@ -19,6 +19,8 @@ BasePill {
|
||||
property var parentWindow: null
|
||||
property var widgetData: null
|
||||
property string section: "right"
|
||||
// A same-named binding inside the overflow grid would resolve to its own property.
|
||||
readonly property DPopout overflowPopoutRef: overflowPopout
|
||||
property bool isAtBottom: false
|
||||
property bool useOverflowPopup: !widgetData?.trayUseInlineExpansion
|
||||
property bool useSingleLineOverflowPopup: SettingsData.widgetOption("systemTray", widgetData, "trayPopupSingleLine")
|
||||
@@ -931,7 +933,7 @@ BasePill {
|
||||
TrayOverflowGrid {
|
||||
id: menuGrid
|
||||
bar: root
|
||||
overflowPopout: overflowPopout
|
||||
overflowPopout: root.overflowPopoutRef
|
||||
popupUsesVerticalLine: overflowContent.popupUsesVerticalLine
|
||||
anchors.verticalCenter: overflowContent.popupUsesVerticalLine ? undefined : parent.verticalCenter
|
||||
anchors.horizontalCenter: overflowContent.popupUsesVerticalLine ? parent.horizontalCenter : undefined
|
||||
|
||||
Reference in new issue
Block a user