Commit 320e77d9 authored by David Redondo's avatar David Redondo 🏎

The cursor previews are in a layout

Do not set width/height on items that are managed by a layout. Every item had
the same size because of this.


(cherry picked from commit ad1e59e0)
parent da34fd07
......@@ -132,8 +132,8 @@ KCM.GridViewKCM {
Kirigami.Icon {
source: model.decoration
smooth: true
width: sizeComboDelegate.size / Screen.devicePixelRatio
height: sizeComboDelegate.size / Screen.devicePixelRatio
Layout.preferredWidth: sizeComboDelegate.size / Screen.devicePixelRatio
Layout.preferredHeight: sizeComboDelegate.size / Screen.devicePixelRatio
visible: valid && sizeComboDelegate.size > 0
}
......
Markdown is supported
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