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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|REPORTED                    |RESOLVED
   Version Fixed In|                            |6.2
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kdeplasma-addons/-/commi
                   |                            |t/79f77bda50e961fade362256f
                   |                            |bbebb9443779ded

--- Comment #1 from Ismael Asensio <isma...@gmail.com> ---
Git commit 79f77bda50e961fade362256fbbebb9443779ded by Ismael Asensio.
Committed on 27/08/2024 at 11:45.
Pushed by iasensio into branch 'wip/weather-forecast-grid'.

applets/weather: Reduce forecast layout minimum width

When the forecast has a night row, we show "Day" and "Night" labels
as the row headings. If the forecast starts at night, we can play
with the "Night" label positioning to save some horizontal space

Technically, instead of pushing fake items (placeholders) into the
model and use a spacial case on the usual delegates, add the Day/Night
labels directly to the grid. This also simplifies the delegates.

Also reduce the grid horizontal spacing to 0, as the icon margins are
enough to compensate for this
FIXED-IN: 6.2

M  +31   -15   applets/weather/package/contents/ui/ForecastView.qml
M  +2    -8    applets/weather/package/contents/ui/main.qml

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/79f77bda50e961fade362256fbbebb9443779ded

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

Reply via email to