diff --git a/shell/modules/HoverPanel.qml b/shell/modules/HoverPanel.qml index ab17583..5f7adc5 100644 --- a/shell/modules/HoverPanel.qml +++ b/shell/modules/HoverPanel.qml @@ -373,9 +373,20 @@ PanelWindow { } } - Column { - id: panelContent + Flickable { + id: _flickable width: parent.width + height: Math.min(panelContent.height, _maxContentHeight) + contentHeight: panelContent.height + clip: contentHeight > height + boundsBehavior: Flickable.StopAtBounds + + readonly property real _maxContentHeight: (root.screen?.height ?? 1080) * 0.6 - (_headerItem.visible ? _headerItem.height : 0) + + Column { + id: panelContent + width: parent.width + } } } }