Projects > cpp > Issues > Bug #4534

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

UI Layout

Bug #4534 [Closed]
ricardo 2014-03-24 23:15 . Updated over 2 years ago

UILayout code needs to be refactored.

First, from an API point of view we need VBox, HBox, etc...
Also, we need to delegate the layout code to the different subclasses.
Currently everything is coupled in a huge 400 lines function (doLayout) and it is very difficult to maintain and extend.

zhangxm 2014-03-25 02:00
  • Assignee set to Nutty
zhangxm 2014-03-28 08:34
  • Status changed from New to Closed

Atom PDF

Start date:2014-03-24
Due date:
% Done:


Target version:3.0-rc1

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.