on xenial help sign in
include panel height in max height calc
9b80210Nick Dedekind
qml/ApplicationMenus/MenuPopup.qml+2−1
@@ -19,6 +19,7 @@ import QtQuick.Layouts 1.1
19import Ubuntu.Components 1.3
19import Ubuntu.Components 1.3
20import Ubuntu.Components.ListItems 1.3 as ListItems
20import Ubuntu.Components.ListItems 1.3 as ListItems
21import "../Components"
21import "../Components"
22+import "../Components/PanelState"
22import "."
23import "."
23
24
24UbuntuShape {
25UbuntuShape {
@@ -100,7 +101,7 @@ UbuntuShape {
100 property real __minimumWidth: units.gu(20)
101 property real __minimumWidth: units.gu(20)
101 property real __maximumWidth: ApplicationMenusLimits.screenWidth * 0.7
102 property real __maximumWidth: ApplicationMenusLimits.screenWidth * 0.7
102 property real __minimumHeight: units.gu(2)
103 property real __minimumHeight: units.gu(2)
103− property real __maximumHeight: ApplicationMenusLimits.screenHeight
104+ property real __maximumHeight: ApplicationMenusLimits.screenHeight - PanelState.panelHeight
104
105
105 signal dismissAll()
106 signal dismissAll()
106
107