Commit c4f05a93 authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[Icons KCM] Floor icon size to avoid premature wrapping in certain cases

parent 3085a403
......@@ -106,7 +106,7 @@ KCM.GridViewKCM {
property int currentPage
readonly property int pageCount: Math.ceil(thumbRepeater.count / (thumbFlow.columns * thumbFlow.rows))
readonly property int iconWidth: Math.round(thumbArea.width / thumbFlow.columns)
readonly property int iconWidth: Math.floor(thumbArea.width / thumbFlow.columns)
readonly property int iconHeight: Math.round(thumbArea.height / thumbFlow.rows)
readonly property int columns: 3
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