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

Marco Martin <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/fram
                   |ma/discover/-/commit/e601c3 |eworks/kirigami/-/commit/cc
                   |389f590910e551ad79ed7829b02 |2ca634236340b2df934997ccfc0
                   |3bd7781                     |a1a07a06724

--- Comment #18 from Marco Martin <[email protected]> ---
Git commit cc2ca634236340b2df934997ccfc0a1a07a06724 by Marco Martin.
Committed on 24/10/2025 at 13:37.
Pushed by ngraham into branch 'master'.

CardsListView: Make sure it never will have horizontal scrolling

When a ListView has rightMargin and/or leftMargin and Flickable
has "automatic" contentWidth (ie wasn't overridden) Flickable
will consider as content width the whole flickable width
plus right and left margins, causing an unwanted horizontal scroll.

override contentWidth in CardsListView in order to always be the
listview width minus the margins, which will cause in the end always
wide exactly as the listview which is exactly what's needed in the
CardsListView case

M  +1    -0    src/controls/CardsListView.qml

https://invent.kde.org/frameworks/kirigami/-/commit/cc2ca634236340b2df934997ccfc0a1a07a06724

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

Reply via email to