Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Size identifier #147

Open
delahee opened this issue Jul 1, 2014 · 2 comments
Open

Size identifier #147

delahee opened this issue Jul 1, 2014 · 2 comments

Comments

@delahee
Copy link

delahee commented Jul 1, 2014

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 ?

@RealyUniqueName
Copy link
Owner

There is no nice way already :)
I like this idea, thanks.

@delahee
Copy link
Author

delahee commented Jul 8, 2014

We implemented this internally using ui_arguments, i'll let you close this when you have implemented it on your side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants