Skip to content
Commit 6b86b6a3 authored by Sebastian Keller's avatar Sebastian Keller Committed by Florian Müllner
Browse files

iconGrid: Account for non-icon content and padding/spacing when scaling

_updateIconSizes() was assuming that the icon is the only content of
an item when scaling the icon size to ensure the item size matches
_fixedHItemSize/_fixedVItemSize. However the icon may have padding and
there might be a label and spacing between the icon and the label. This
resulted in items being larger than their slots.

Fixes https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2234
parent ab59b741
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