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

Missing features of BasicUILayout ( getting/setting 'a single' element position ) #273

Open
Snky opened this issue Nov 5, 2015 · 0 comments
Milestone

Comments

@Snky
Copy link

Snky commented Nov 5, 2015

http://forum.starling-framework.org/topic/change-basicuilayout

my patch:
https://www.dropbox.com/s/ii7rk966yrzdduk/BasicUILayout.as?dl=0

-added line 41 ( element.name = content.name )
-added function getFirstElementByName
-added function setElementPositionByName

Is this right or wrong? Apologies in advance if it's not.
I hope I'm right though, modifying Citrus Engine is not a part of my scope when helping others usually, but I did not see any function that could return an element from the _elements vector.

Please comment on the thread if there's another way to do this without modifying Citrus Engine, or if there's a better patch.

@gsynuh gsynuh added this to the V3.2.0 milestone Nov 8, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants