summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Uwe Broulik <[email protected]>2017-01-05 15:16:43 +0100
committerKai Uwe Broulik <[email protected]>2017-01-05 15:16:43 +0100
commit2d2f33a915d3d5a3496b4fe9ec3973dc9157dd9c (patch)
tree63ff93c7dc8fa305ca0aeacb9f69d8c16ef753a5
parentf64ef01d76f09d3d7a1959ac3976e8b0c223c0ac (diff)
[Folder View] Let IconItem take entire delegate width
Differential Revision: https://phabricator.kde.org/D3893
-rw-r--r--containments/desktop/package/contents/ui/FolderItemDelegate.qml2
1 files changed, 1 insertions, 1 deletions
diff --git a/containments/desktop/package/contents/ui/FolderItemDelegate.qml b/containments/desktop/package/contents/ui/FolderItemDelegate.qml
index 373d9ca..6c061f2 100644
--- a/containments/desktop/package/contents/ui/FolderItemDelegate.qml
+++ b/containments/desktop/package/contents/ui/FolderItemDelegate.qml
@@ -216,7 +216,7 @@ Item {
leftMargin: units.smallSpacing
}
- width: main.GridView.view.iconSize
+ width: root.useListViewMode ? main.GridView.view.iconSize : (parent.width - 2 * units.smallSpacing)
height: main.GridView.view.iconSize
opacity: root.useListViewMode ? (1.3 - selectionButton.opacity) : 1.0