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

Arjen Hiemstra <ahiems...@heimr.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/kquickcharts/-/commi
                   |                            |t/4e2e898286e1de58bb321b718
                   |                            |08d1bed87eff9a0
         Resolution|---                         |FIXED

--- Comment #3 from Arjen Hiemstra <ahiems...@heimr.nl> ---
Git commit 4e2e898286e1de58bb321b71808d1bed87eff9a0 by Arjen Hiemstra.
Committed on 06/05/2024 at 11:15.
Pushed by ahiemstra into branch 'master'.

controls: Ceil all components of preferredWidth in LegendDelegate contents

Layout internally `ceil()`s all sizes, so not doing the same means we
get a slight mismatch between the preferred size the layout wants to be
at and the preferred size we calculate, leading to the label being
elided.

While we're at it, drop the Item container and FontMetrics usage which
can be done using Label's implicitWidth these days.

M  +8    -19   controls/LegendDelegate.qml

https://invent.kde.org/frameworks/kquickcharts/-/commit/4e2e898286e1de58bb321b71808d1bed87eff9a0

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

Reply via email to