Commit Graph

42 Commits

Author SHA1 Message Date
zilongshanren 99d2a4b71e always listen on size-changed event 2016-05-18 18:39:11 +08:00
zilongshanren 13ab2a1242 fix scrollview layout as content issue 2016-05-18 18:00:41 +08:00
zilongshanren 7ae03ef67e initalize temp variable. 2016-05-18 16:35:51 +08:00
Jare Guo 142aeed175 add preload lifecycle method 2016-05-16 15:41:49 +08:00
Nan Wang 3e396e3080 merged v1.0 2016-05-11 17:29:17 +08:00
zilongshanren 62dc65475a minor improve performance 2016-05-05 15:40:19 +08:00
zilongshanren 335325c3cb fix layout errors when child's width is negative 2016-05-04 15:59:02 +08:00
Jare Guo 1b8fafc9cc turn on dead code optimization in building 2016-04-25 14:32:57 +08:00
Jare Guo 289e441402 Merge pull request #579 from zilongshanren/improve-label
fix layout default size issue
2016-04-13 18:10:12 +08:00
Wang Nan 111e633541 Merge pull request #584 from nantas/v1.0
update i18n differed component help link
2016-04-11 19:09:57 +08:00
Nan Wang c3961feb8a update i18n differed component help link 2016-04-11 19:06:30 +08:00
zilongshanren ab314a7012 add missing layout tooltip 2016-04-11 11:55:41 +08:00
zilongshanren 20aca8e74a fix layout default size issue 2016-04-11 11:06:48 +08:00
knoxHuang 0336a0139a update CCLayout API 2016-03-17 16:05:18 +08:00
knoxHuang 5539c12f13 update CCLayout API 2016-03-17 15:41:52 +08:00
knoxHuang 44ec950e71 update components api url 2016-03-09 18:42:36 +08:00
knoxHuang 2d7f991a11 update components api url 2016-03-09 18:33:13 +08:00
knoxHuang 57a8e12052 built-in module in the title next to add a help icon. 2016-03-09 17:57:13 +08:00
zilongshanren ffed75d204 finish rename Layout APIs 2016-03-08 15:18:54 +08:00
Nan Wang 3a70ae6060 update license file and source code header. 2016-03-01 11:04:12 +08:00
Jare Guo f87ad5f23d improve conflict detection for widget and layout 2016-02-21 20:43:42 +08:00
zilongshanren 14b51b2ef6 fix layout reorder child issue.
Fix https://github.com/cocos-creator/fireball/issues/1935
2016-02-17 17:22:41 +08:00
Jare Guo 16490118c6 .fire should not changed by label and widget with no user input 2016-02-02 14:37:55 +08:00
zilongshanren 3726ce7f95 fix node active in layout 2016-01-28 13:52:05 +08:00
zilongshanren a008a91135 fix label layout issue 2016-01-28 11:22:37 +08:00
zilongshanren ad68d7c410 fix layout one children layout issue 2016-01-26 20:59:25 +08:00
2youyouo2 628aeb7737 add animatable: false for component 2016-01-25 12:08:10 +08:00
zilongshanren 88dca474c2 fix grid layout resize container issue 2016-01-18 14:58:25 +08:00
zilongshanren 60a163f42b add missing docs 2016-01-15 10:47:18 +08:00
zilongshanren a27a9b3528 add grid layout and finish all the layout fature
finish none mode of layout

add resize none mode for horizontal and vertical

refactor horizontal layout algorithm

refactoring

add row break logic

make row break working

rename margin to padding

grid layout start axis works

refactoring

finish y axis grid layout

add grid layout resize container feature.

add resize container for grid vertical layout

fix horizontal  layout issue

fix some issues when in grid resize container mode

finish layout feature
2016-01-14 15:54:57 +08:00
Nan Wang c213e720ab update i18n for layout tooltip. 2015-12-30 10:35:48 +08:00
zilongshanren 32464f4f66 add defensive programming 2015-12-30 09:53:59 +08:00
zilongshanren 28c79dd17d only doLayout when count of children > 0 2015-12-30 09:43:40 +08:00
zilongshanren c4b48a4c89 fix layout child anchor change issue.
1. fix base-node getBoundingBox issue
2015-12-29 21:21:21 +08:00
zilongshanren 56f6c329fd finish none layout 2015-12-29 20:42:04 +08:00
zilongshanren dd5c4cc72d add basic layout logic 2015-12-29 16:54:53 +08:00
zilongshanren d70ced1897 add autoResize property and refactor spacing. 2015-12-29 16:54:52 +08:00
zilongshanren d6febd8cf6 rename LayoutType to Type 2015-12-25 10:27:44 +08:00
zilongshanren f75925209c improve ui components 2015-12-25 10:22:22 +08:00
zilongshanren fd185047be refine the coding style 2015-12-24 15:20:40 +08:00
zilongshanren 3ba13cfe38 Finish layout
add children change event

add child-added and child-remove event to basenode

add layout dirty skeleton

finish layout in one direction

add layout doc string.
2015-12-24 14:21:17 +08:00
zilongshanren 97af241136 Finish layout 2015-12-24 14:20:56 +08:00