applets/kickoff: Reiterate on compact representation sizing code
All 4 min/max width/height expressions were combined into one property block for deduplication and code locality. Some helper properties were introduced, others removed as obsolete. Compact icon now does not shrink to a size less than a panel's orthogonal direction, such that is stays at least square or taller (in vertical) / wider (in horizontal form factor). Extra margins are added to the left and right of the label (if present) instead of spacing between it and an icon. Otherwise text looks too sticky to its neighboring widgets IMHO. Test plan: check with and without icons, text on horizontal, vertical panels and on a desktop; in every form factor use icons of different aspect ratio: square, landscape, portrait, and an invalid one (can be set to a valid, then move the icon file and restart plasmashell). BUG: 460169
-
mentioned in commit genericity/plasma-desktop@1988f075
-
mentioned in merge request !1375 (merged)
-
mentioned in merge request !1377 (merged)
Please register or sign in to comment