Commit 89751cb7 authored by Fushan Wen's avatar Fushan Wen 💬 Committed by Nate Graham
Browse files

taskmanager: Hide unneeded scrollbar

Workaround for QTBUG-83890

BUG: 450463
FIXED-IN: 5.24.2


(cherry picked from commit 1d1d8687)
parent e903d9e2
Pipeline #139130 passed with stage
in 6 minutes and 34 seconds
......@@ -91,6 +91,10 @@ Loader {
implicitWidth: leftPadding + rightPadding + Math.min(Screen.desktopAvailableWidth - 2 * PlasmaCore.Units.smallSpacing, contentItem.contentItem.childrenRect.width)
implicitHeight: bottomPadding + Math.min(Screen.desktopAvailableHeight - 2 * PlasmaCore.Units.smallSpacing, contentItem.contentItem.childrenRect.height)
// HACK: workaround for https://bugreports.qt.io/browse/QTBUG-83890
PlasmaComponents3.ScrollBar.horizontal.policy: isVerticalPanel ? PlasmaComponents3.ScrollBar.AlwaysOff : PlasmaComponents3.ScrollBar.AsNeeded
PlasmaComponents3.ScrollBar.vertical.policy: isVerticalPanel ? PlasmaComponents3.ScrollBar.AsNeeded : PlasmaComponents3.ScrollBar.AlwaysOff
ListView {
id: groupToolTipListView
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment