Commit Graph

56 Commits

Author SHA1 Message Date
knoxHuang bd8127aff7 optimization shader and tooltip for #fireball/issues/4771 2016-12-19 18:19:18 +08:00
Nan Wang 4dea8e7a8a move all error logs to DebugInfos.js and only show error id in release build 2016-12-15 17:07:01 +08:00
zilongshanren 99d386bfef fix migrate padding data 2016-11-17 17:46:40 +08:00
zilongshanren 48aa2b870c minor fix 2016-11-16 18:01:09 +08:00
zilongshanren 3fcee8cf99 fix padding warnings 2016-11-16 17:58:44 +08:00
zilongshanren 83738e0037 finish improve layout padding options
add missing API docs

improve layout padding

make this.padding return paddingLeft

make editOnly in property declare
2016-11-16 16:03:55 +08:00
zilongshanren 159d13f843 add the missing en API doc for layout
migrate old padding data

finish layout horizontal

improve vertical layout padding
2016-11-16 16:03:52 +08:00
Wang Nan e6201c7ffc Merge pull request #923 from zilongshanren/refactoring-layout-widget-label
refactoring layout and label update timing
2016-07-18 17:24:03 +08:00
zilongshanren 5f350544ac refactoring layout and label update timing 2016-07-18 16:57:40 +08:00
Johnny Wu a462ce79e4 change inspector url 2016-07-12 18:22:28 +08:00
zilongshanren 7fbd7364e5 fix child active issue in none layout 2016-07-04 15:07:42 +08:00
zilongshanren 07cb26f1fc should remove listeners when child removed 2016-07-04 15:05:42 +08:00
zilongshanren 1befbf572e improve none layout anchor and size precision 2016-06-06 14:55:39 +08:00
zilongshanren 2829898ed7 fix layout resize container mode issue
1. when disable some child node, the base width/height is not updated.
2016-05-23 17:25:26 +08:00
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