proper height for the panel

This commit is contained in:
Marco Martin 2020-09-01 17:42:53 +02:00
parent 4a5ac4a6aa
commit e6d041f90f

View file

@ -284,7 +284,7 @@ Item {
id: panelContents
anchors.fill: parent
implicitWidth: quickSettingsParent.implicitWidth
implicitHeight: MAth.min(slidingPanel.height, quickSettingsParent.implicitHeight)
implicitHeight: Math.min(slidingPanel.height, quickSettingsParent.implicitHeight)
columns: slidingPanel.wideScreen ? 2 : 1
rows: slidingPanel.wideScreen ? 1 : 2