I'm just updating to newest wrappers version and found out this doesn't work anymore:
Copy code
margin = Margin("0 auto")
Margin
cannot take raw string. How can I achieve it in the new API, best if avoiding assigning each margin separately (4 statements) and doing it in a single type-safe statement like
margin = margin(0.integer, Auto)
?
t
turansky
04/07/2022, 9:15 PM
Copy code
margin = Margin(0.px, auto)
No magic strings! đ
đ 1
p
Piotr KrzemiĆski
04/08/2022, 9:29 AM
nice, not sure why I didn't check this obvious solution
Piotr KrzemiĆski
04/08/2022, 9:29 AM
BTW, do you guys maintain a list of breaking changes between releases? it would help especially if someone doesn't follow the recent releases
t
turansky
04/08/2022, 1:27 PM
It will be every release message đ
Stricter and stricter!
turansky
04/11/2022, 6:27 PM
In case of
Margin
it was internal factory method with invalid modifier. Valid factory method was available at the same moment