color: "transparent"\r
flags: Qt.Dialog | Qt.FramelessWindowHint\r
\r
+ readonly property int maxMenuHeight: Style.trayWindowHeight - Style.trayWindowHeaderHeight - 2 * Style.trayWindowBorderWidth\r
+\r
// Close tray window when focus is lost (e.g. click somewhere else on the screen)\r
onActiveChanged: {\r
if(!active) {\r
y: (currentAccountButton.y + Style.trayWindowHeaderHeight + 2)\r
\r
width: (Style.currentAccountButtonWidth - 2)\r
+ height: Math.min(implicitHeight, maxMenuHeight)\r
closePolicy: "CloseOnPressOutside"\r
\r
background: Rectangle {\r
y: (trayWindowAppsButton.y + trayWindowAppsButton.height + 2)\r
readonly property Item listContentItem: contentItem.contentItem\r
width: Math.min(listContentItem.childrenRect.width + 4, Style.trayWindowWidth / 2)\r
+ height: Math.min(implicitHeight, maxMenuHeight)\r
closePolicy: "CloseOnPressOutside"\r
\r
background: Rectangle {\r