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

width not working for text layer #16

Open
mamezito-zz opened this issue Aug 22, 2016 · 1 comment
Open

width not working for text layer #16

mamezito-zz opened this issue Aug 22, 2016 · 1 comment

Comments

@mamezito-zz
Copy link

http://share.framerjs.com/28tdwmu91939/

@k-vyn
Copy link
Owner

k-vyn commented Aug 29, 2016

Ah yeah, there's a little trick here. The width & height are intended to be set in the constraint. I should do a better job calling that in the documentation. FYI, width & height constraints are in points instead of pixels, so they'll scale up & down based on the device.

So write this instead –

constraints:
     width:120
     align:'center'

Updated version:
http://share.framerjs.com/fnggltu6zm8w/

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