Commit 2ebde103 authored by Nate Graham's avatar Nate Graham
Browse files

Folder View: Make popup dialog wide enough for one more grid cell

Right now it is 2 pixels too narrow, so there is always a huge gap on
the right side. Use a standard Unit that knows how to adjust with the
font size to avoid this, in lieu of being able to get the scrollbar
width.

BUG: 417539
FIXED-IN: 5.24.5
parent b4054ec9
Pipeline #156915 passed with stage
in 2 minutes and 50 seconds
......@@ -48,7 +48,7 @@ Folder.SubDialog {
mainItem: FolderViewDropArea {
id: folderViewDropArea
width: folderView.cellWidth * 3 + (16 * PlasmaCore.Units.devicePixelRatio) // FIXME HACK: Use actual scrollbar width.
width: folderView.cellWidth * 3 + PlasmaCore.Units.gridUnit // FIXME HACK: Use actual scrollbar width.
height: folderView.cellHeight * 2
folderView: folderView
......
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