-
Notifications
You must be signed in to change notification settings - Fork 63
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
Adjust text content to fit a defined width or height #22
Comments
Hey, this looks super useful. If you can stabilize this I'll happily accept a pull request. |
do you have any suggestions on how this should be integrated? should I add the static utilities to U.hx, or do they make sense in flxuitext? (for example) |
U.hx is a bit of a kludge already... a lot of the functions that are in there might need to be refactored a bit or moved around as I think they duplicate a lot of what's already available in the flixel.util package. So I'd stick it in FlxUIText as helper functions. |
Any word on this? Looks good to me, can you make sure it's still compatible with latest stuff and if so, create a branch and make a pull request? Then I'll test it and if it works, I'll accept it. |
hey man, sorry I didn't get back sooner. I just started a new job at On Tue, Mar 11, 2014 at 12:48 PM, Lars Doucet notifications@github.comwrote:
|
NP! Take your time. |
Any updates on this? |
What do you think @Gama11? Should we wrap this into a utility function or something? |
My apologies, I've completely forgotten about this. I can't say I have much input on this, I'll leave it to you if you have ideas on proper integration. Let me know if you have any questions. |
Hey I've been working on this feature where you can scale down a textfield to either:
here is my first pass, do you feel like it belongs in this project? If so, there is much to do before it can be pulled in. Not sure the proper place for the utilities and I'm sure it can be optimized better. Let me know you thoughts =]
here is the initial commit: gltovar@8eefdad
here is a screen shot: http://i.imgur.com/TSzBtYY.png
and the code that generated that screenshot: https://gist.github.com/gltovar/6881361
The text was updated successfully, but these errors were encountered: