https://bugs.kde.org/show_bug.cgi?id=460169

ratijas <m...@ratijas.tk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/commit/f3
                   |                            |cc3ea33f59f627519956225a654
                   |                            |cc7f73476e2
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from ratijas <m...@ratijas.tk> ---
Git commit f3cc3ea33f59f627519956225a654cc7f73476e2 by ivan tkachenko.
Committed on 25/10/2022 at 11:55.
Pushed by ratijas into branch 'master'.

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).

M  +58   -59   applets/kickoff/package/contents/ui/Kickoff.qml
M  +0    -14   applets/kickoff/package/contents/ui/code/tools.js

https://invent.kde.org/plasma/plasma-desktop/commit/f3cc3ea33f59f627519956225a654cc7f73476e2

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to