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

Ismael Asensio <isma...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Version Fixed In|                            |6.4
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kinfocenter/-/commit/f63
                   |                            |e886a7c25f05bd03e54e9c6f571
                   |                            |250588135a
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #4 from Ismael Asensio <isma...@gmail.com> ---
Git commit f63e886a7c25f05bd03e54e9c6f571250588135a by Ismael Asensio.
Committed on 09/02/2025 at 12:20.
Pushed by iasensio into branch 'master'.

kcms/energy: Improve layout of the device selector

Port the device selector to an actual ListView instead of Row+Repeater
combo, so we can use the implicit height of the delegate, instead of
imposing a fixed height, which fails for bigger fonts.

Also improve the layout by centering the available buttons, and adapt
their width to the number of devices, so it doesn't need horizontal
scrolling and resembles more a Navigation bar

While at it, also simplify the code by using the ListView `currentItem`
to initialize and select the current device.

As an added benefit there is now keyboard navigation
Related: bug 499290
FIXED-IN: 6.4

M  +123  -118  kcms/energy/ui/main.qml

https://invent.kde.org/plasma/kinfocenter/-/commit/f63e886a7c25f05bd03e54e9c6f571250588135a

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

Reply via email to