StablexUI
StablexUI copied to clipboard
Size identifier
Hi,
Here at motion Twin, we use a string abstract for sizes:
ex: width = "200px; width = "2dp; width = "20%h"; width = "20mm";
at runtime they are inferred with an abstract that is convertible to float. I find it would really make a nice addition to stablex to have a better expressibility for your sizes.
Or maybe there is a nice way to do it already ?
There is no nice way already :) I like this idea, thanks.
We implemented this internally using ui_arguments, i'll let you close this when you have implemented it on your side.