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

Méven Car <meven....@enioka.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/qqc2-desktop-style/c
                   |                            |ommit/7c97810f53e7ad89002b4
                   |                            |afcadc9fe40cbcff3e0
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED

--- Comment #1 from Méven Car <meven....@enioka.com> ---
Git commit 7c97810f53e7ad89002b4afcadc9fe40cbcff3e0 by Méven Car, on behalf of
David Edmundson.
Committed on 07/12/2021 at 08:31.
Pushed by ngraham into branch 'master'.

Fix binding loop in Spinbox

There is currently a loop:

 - upRect changes whenever the size of the background changes
 - when upRect changes we adjust both margins and minimum size.
This adjusts the size of the background
 - upRect changes whenever the size of the background changes

Our requirements are:
- we want the size hint from this once to calculate a minimum size and
margins
- we need the position constantly updated so the up indicator can be in
the right place

Using two properties allows us to separate our two requirements

M  +13   -12   org.kde.desktop/SpinBox.qml

https://invent.kde.org/frameworks/qqc2-desktop-style/commit/7c97810f53e7ad89002b4afcadc9fe40cbcff3e0

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

Reply via email to