Skip to content

Conversation

@ntrrgc
Copy link
Contributor

@ntrrgc ntrrgc commented Nov 15, 2016

This allows to use left, center or right alignment in HBox nodes and top, center or bottom alignment in VBox nodes.

@zilongshanren
Copy link
Contributor

zilongshanren commented Dec 6, 2016

@ntrrgc

This PR looks good to me. It is really an useful feature when dealing with Layout. But I suggest to add it to the C++ engine and make sure the Javascript bindings works.

And please also add an example to demonstrate this feature in https://github.com/cocos2d/cocos2d-x/tree/v3/tests/js-tests

If anything is unclear here, I would like to help.

Thanks.

@pandamicro
Copy link
Contributor

Hi, @ntrrgc is there a Cocos2d-x pr ?

@ntrrgc
Copy link
Contributor Author

ntrrgc commented Mar 17, 2017

@pandamicro There you go: cocos2d/cocos2d-x#17535

@pandamicro
Copy link
Contributor

That great ! Thanks ~

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

Successfully merging this pull request may close these issues.

3 participants