Verified Commit 660014c4 authored by Fushan Wen's avatar Fushan Wen
Browse files

wallpapers/image: Add workaround for horizontal scrollbar

The useless horizontal scrollbar is always visible on some distros.

https://bugreports.qt.io/browse/QTBUG-83890
parent 4a79a65d
Pipeline #173591 passed with stage
in 5 minutes and 46 seconds
......@@ -175,6 +175,10 @@ ColumnLayout {
Layout.preferredWidth: 0.35 * parent.width
Layout.maximumWidth: Kirigami.Units.gridUnit * 16
Component.onCompleted: foldersScroll.background.visible = true;
// HACK: workaround for https://bugreports.qt.io/browse/QTBUG-83890
QQC2.ScrollBar.horizontal.policy: QQC2.ScrollBar.AlwaysOff
ListView {
id: slidePathsView
model: imageWallpaper.slidePaths
......
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