Verified Commit e8ad72a8 authored by Fushan Wen's avatar Fushan Wen 💬
Browse files

wallpapers/image: Fix missing folder action buttons

The width of the action area needs to be substracted in contentItem's
width.

Also use `Kirigami.Units.gridUnit * 4` because `overlayWidth` was
introduced in Frameworks 5.94, and people using Plasma 5.24 may have an
older Frameworks version.
parent 09a759ca
Pipeline #174539 passed with stage
in 7 minutes and 59 seconds
......@@ -331,6 +331,7 @@ ColumnLayout {
// Don't need a highlight or hover effects
hoverEnabled: false
contentItem: Kirigami.BasicListItem {
width: slidePathsView.width - (parent.hasOwnProperty("overlayWidth") ? overlayWidth : Kirigami.Units.gridUnit * 4)
// Don't need a highlight or hover effects
hoverEnabled: false
separatorVisible: false
......
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