Michael Paus
03/31/2023, 4:28 PMIgor Demin
03/31/2023, 4:32 PMMichael Paus
03/31/2023, 4:36 PMIgor Demin
03/31/2023, 4:41 PMMichael Paus
03/31/2023, 4:45 PMIgor Demin
03/31/2023, 4:47 PMIgor Demin
03/31/2023, 4:49 PMKirill Grouchnikov
03/31/2023, 4:55 PMWindowState.size
is. Don’t know if this is relevant here, but maybe just in case.Michael Paus
03/31/2023, 5:05 PMKirill Grouchnikov
03/31/2023, 5:07 PMAlexander Maryanovsky
03/31/2023, 5:11 PMKirill Grouchnikov
03/31/2023, 5:11 PMAlexander Maryanovsky
03/31/2023, 5:12 PMIgor Demin
03/31/2023, 5:12 PMAlexander Maryanovsky
03/31/2023, 5:13 PMMichael Paus
03/31/2023, 5:14 PMAlexander Maryanovsky
03/31/2023, 5:15 PMAlexander Maryanovsky
03/31/2023, 6:10 PMAlexander Maryanovsky
03/31/2023, 6:11 PMMichael Paus
03/31/2023, 6:29 PMbarPosition
determines the sizes of the parts. The problem is that the computation is unconditionally remembered. The fix is to just replace remember
by remember(constraints)
so that the barPosition is correctly recomputed when the constraints change. My code now works for all versions up to 1.4.0-alpha01-dev1000.
Thanks everybody for the help and especially Kirill for the crucial hint. It’s the right moment now to slide into the weekend 😉.Alexander Maryanovsky
03/31/2023, 8:35 PMMichael Paus
03/31/2023, 10:25 PMIgor Demin
04/01/2023, 8:36 AM