Advertisement
Guest User

Untitled

a guest
Jun 27th, 2012
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.89 KB | None | 0 0
  1. var l1 = {xtype:'label',
  2. text:'LLL1',
  3. layoutConstraints:{gridx:0, gridy:0}
  4. };
  5. var p1 = {id:'p1',
  6. title:'P1',
  7. layout:'ux.gridbag',
  8. layoutConstraints:{gridx:0, gridy:0},
  9. items:[l1]
  10. };
  11. var p2 = {id:'p2',
  12. title:'P2',
  13. layout:'ux.gridbag',
  14. layoutConstraints:{gridx:0, gridy:0},
  15. items:[p1]
  16. };
  17. var pmain = {id:'main',
  18. title: 'Main',
  19. layout:'ux.gridbag',
  20. items:[p2]
  21. };
  22. Ext.create('Ext.Viewport',
  23. {id : 'es-mainviewport',
  24. layout : 'fit',
  25. items:[pmain]}
  26. );
  27.  
  28.  
  29. LOG: ==================== LAYOUT ====================
  30. LOG: >> flushInvalidates
  31. LOG: ext-gen1018 consumers: content=0/0, container=0/0, size=0/0
  32. LOG: main consumers: content=0/0, container=0/0, size=0/0
  33. LOG: main_header consumers: content=0/0, container=0/0, size=0/0
  34. LOG: main_header_hd consumers: content=0/0, container=0/0, size=0/0
  35. LOG: resetLayout: main_header_hd<autocomponent> ( 0 running)
  36. LOG: resetLayout: main_header<body> ( 1 running)
  37. LOG: resetLayout: main_header<hbox> ( 2 running)
  38. LOG: p2 consumers: content=0/0, container=0/0, size=0/0
  39. LOG: p2_header consumers: content=0/0, container=0/0, size=0/0
  40. LOG: p2_header_hd consumers: content=0/0, container=0/0, size=0/0
  41. LOG: resetLayout: p2_header_hd<autocomponent> ( 3 running)
  42. LOG: resetLayout: p2_header<body> ( 4 running)
  43. LOG: resetLayout: p2_header<hbox> ( 5 running)
  44. LOG: p1 consumers: content=0/0, container=0/0, size=0/0
  45. LOG: p1_header consumers: content=0/0, container=0/0, size=0/0
  46. LOG: p1_header_hd consumers: content=0/0, container=0/0, size=0/0
  47. LOG: resetLayout: p1_header_hd<autocomponent> ( 6 running)
  48. LOG: resetLayout: p1_header<body> ( 7 running)
  49. LOG: resetLayout: p1_header<hbox> ( 8 running)
  50. LOG: label-1009 consumers: content=0/0, container=0/0, size=0/0
  51. LOG: resetLayout: label-1009<autocomponent> ( 9 running)
  52. LOG: resetLayout: p1<dock> ( 10 running)
  53. LOG: resetLayout: p1<ux.gridbag> ( 11 running)
  54. LOG: resetLayout: p2<dock> ( 12 running)
  55. LOG: resetLayout: p2<ux.gridbag> ( 13 running)
  56. LOG: resetLayout: main<dock> ( 14 running)
  57. LOG: resetLayout: main<ux.gridbag> ( 15 running)
  58. LOG: resetLayout: es-mainviewport<autocomponent> ( 16 running)
  59. LOG: set ext-gen1018.width = 908 (false)
  60. LOG: set ext-gen1018.height = 642 (false)
  61. LOG: resetLayout: es-mainviewport<fit> ( 17 running)
  62. LOG: << flushInvalidates
  63. LOG: --- Flush 0
  64. LOG: >>> Cycle 0 (queue length: 18)
  65. LOG: -- calculate main_header_hd<autocomponent>
  66. LOG: set main_header_hd.contentHeight = 17 ()
  67. LOG: set main_header_hd.height = 17 (false)
  68. LOG: layoutDone: main_header_hd<autocomponent> ( 18 running)
  69. LOG: set main_header_hd.done = true ()
  70. LOG: set main_header.containerChildrenDone = true ()
  71. LOG: set main_header.childrenDone = true ()
  72. LOG: -- calculate main_header<body>
  73. LOG: -- calculate main_header<hbox>
  74. LOG: -- calculate p2_header_hd<autocomponent>
  75. LOG: set p2_header_hd.contentHeight = 17 ()
  76. LOG: set p2_header_hd.height = 17 (false)
  77. LOG: layoutDone: p2_header_hd<autocomponent> ( 17 running)
  78. LOG: set p2_header_hd.done = true ()
  79. LOG: set p2_header.containerChildrenDone = true ()
  80. LOG: set p2_header.childrenDone = true ()
  81. LOG: -- calculate p2_header<body>
  82. LOG: -- calculate p2_header<hbox>
  83. LOG: -- calculate p1_header_hd<autocomponent>
  84. LOG: set p1_header_hd.contentHeight = 17 ()
  85. LOG: set p1_header_hd.height = 17 (false)
  86. LOG: layoutDone: p1_header_hd<autocomponent> ( 16 running)
  87. LOG: set p1_header_hd.done = true ()
  88. LOG: set p1_header.containerChildrenDone = true ()
  89. LOG: set p1_header.childrenDone = true ()
  90. LOG: -- calculate p1_header<body>
  91. LOG: -- calculate p1_header<hbox>
  92. LOG: -- calculate label-1009<autocomponent>
  93. LOG: set label-1009.contentWidth = 24 ()
  94. LOG: set label-1009.contentHeight = 14 ()
  95. LOG: set label-1009.width = 24 (false)
  96. LOG: set label-1009.height = 14 (false)
  97. LOG: layoutDone: label-1009<autocomponent> ( 15 running)
  98. LOG: set label-1009.done = true ()
  99. LOG: set p1.containerChildrenDone = true ()
  100. LOG: -- calculate p1<dock>
  101. LOG: set p1-body.x = 0 ()
  102. LOG: -- calculate p1<ux.gridbag>
  103. LOG: calc p1 layoutId:ux.gridbag-1030 cycleCount:1
  104. LOG: calc p1 NOT done
  105.  
  106. LOG: -- calculate p2<dock>
  107. LOG: set p2-body.x = 0 ()
  108. LOG: -- calculate p2<ux.gridbag>
  109. LOG: calc p2 layoutId:ux.gridbag-1028 cycleCount:1
  110. LOG: calc p2 NOT done
  111.  
  112. LOG: -- calculate main<dock>
  113. LOG: set main-body.x = 0 ()
  114. LOG: -- calculate main<ux.gridbag>
  115. LOG: calc main layoutId:ux.gridbag-1026 cycleCount:1
  116. LOG: calc main NOT done
  117.  
  118. LOG: -- calculate es-mainviewport<autocomponent>
  119. LOG: layoutDone: es-mainviewport<autocomponent> ( 14 running)
  120. LOG: set ext-gen1018.done = true ()
  121. LOG: -- calculate es-mainviewport<fit>
  122. LOG: set main.margin-top = 0 ()
  123. LOG: set main.margin-right = 0 ()
  124. LOG: set main.margin-bottom = 0 ()
  125. LOG: set main.margin-left = 0 ()
  126. LOG: set main.width = 908 ()
  127. LOG: Queue main<dock>
  128. LOG: set main.height = 642 ()
  129. LOG: layoutDone: es-mainviewport<fit> ( 13 running)
  130. LOG: set ext-gen1018.containerLayoutDone = true ()
  131. LOG: >>> Cycle 1 (queue length: 1)
  132. LOG: -- calculate main<dock>
  133. LOG: set main_header.width = 908 ()
  134. LOG: Queue main_header<body>
  135. LOG: set main-body.width = 908 ()
  136. LOG: Queue main<ux.gridbag>
  137. LOG: >>> Cycle 2 (queue length: 2)
  138. LOG: -- calculate main_header<body>
  139. LOG: set main_header-body.width = 896 (true)
  140. LOG: Queue main_header<hbox>
  141. LOG: -- calculate main<ux.gridbag>
  142. LOG: calc main layoutId:ux.gridbag-1026 cycleCount:3
  143. LOG: calc main NOT done
  144.  
  145. LOG: >>> Cycle 3 (queue length: 1)
  146. LOG: -- calculate main_header<hbox>
  147. LOG: set main_header_hd.margin-top = 0 ()
  148. LOG: set main_header_hd.margin-right = 0 ()
  149. LOG: set main_header_hd.margin-bottom = 0 ()
  150. LOG: set main_header_hd.margin-left = 0 ()
  151. LOG: set main_header_hd.width = 896 ()
  152. LOG: set main_header_hd.x = 0 ()
  153. LOG: set main_header.contentWidth = 896 ()
  154. LOG: set main_header.contentHeight = 17 ()
  155. LOG: Queue main_header<body>
  156. LOG: set main_header_hd.y = 0 ()
  157. LOG: set main_header-innerCt.width = 896 ()
  158. LOG: set main_header-innerCt.height = 17 ()
  159. LOG: layoutDone: main_header<hbox> ( 12 running)
  160. LOG: set main_header.containerLayoutDone = true ()
  161. LOG: >>> Cycle 4 (queue length: 1)
  162. LOG: -- calculate main_header<body>
  163. LOG: set main_header.height = 25 (false)
  164. LOG: Queue main<dock>
  165. LOG: layoutDone: main_header<body> ( 11 running)
  166. LOG: set main_header.done = true ()
  167. LOG: set main.componentChildrenDone = true ()
  168. LOG: >>> Cycle 5 (queue length: 1)
  169. LOG: -- calculate main<dock>
  170. LOG: set main-body.height = 617 ()
  171. LOG: Queue main<ux.gridbag>
  172. LOG: set main-body.y = 25 ()
  173. LOG: set main_header.x = 0 ()
  174. LOG: set main_header.y = 0 ()
  175. LOG: layoutDone: main<dock> ( 10 running)
  176. LOG: set main.done = true ()
  177. LOG: set ext-gen1018.containerChildrenDone = true ()
  178. LOG: set ext-gen1018.childrenDone = true ()
  179. LOG: >>> Cycle 6 (queue length: 1)
  180. LOG: -- calculate main<ux.gridbag>
  181. LOG: calc main layoutId:ux.gridbag-1026 cycleCount:7
  182. LOG: layout main tw:906 th:615 cycleCount:7
  183. LOG: prefsize p2
  184. LOG: prefsize p1
  185. LOG: prefsize label-1009 w=25 h=15
  186. LOG: prefsize p1 w:25 h:15 missingW/H:0x0
  187. LOG: prefsize p1 w=27 h=NaN
  188. LOG: prefsize p2 w:27 h:0 missingW/H:0x1
  189. LOG: prefsize p2 w=NaN h=NaN
  190. LOG: layout main missingW/H: 1x1
  191. LOG: set p2.x = 453 ()
  192. LOG: set p2.y = 307 ()
  193. LOG: calc main NOT done
  194.  
  195. LOG: >>> Cycle 7 (queue length: 0)
  196. LOG: --- Flush 16
  197. LOG: >>> Cycle 8 (queue length: 0)
  198. LOG: Layout run failed
  199. [E] ----------------- FAILURE -----------------
  200. LOG: ++es-mainviewport<autocomponent> - size: w/h configured/configured
  201. LOG: ++es-mainviewport<fit> - size: w/h configured/configured
  202. LOG: triggeredBy: count=2
  203. LOG: ext-gen1018.height (642) dirty: false, setBy: es-mainviewport<autocomponent>
  204. LOG: ext-gen1018.width (908) dirty: false, setBy: es-mainviewport<autocomponent>
  205. LOG: --main<ux.gridbag> - size: w/h calculated/calculated
  206. LOG: triggeredBy: count=6
  207. LOG: label-1009.height (14) dirty: false, setBy: label-1009<autocomponent>
  208. LOG: label-1009.width (24) dirty: false, setBy: label-1009<autocomponent>
  209. LOG: main-body.height (617) dirty: false, setBy: main<dock>
  210. LOG: main-body.width (908) dirty: false, setBy: main<dock>
  211. LOG: p1_header.height () dirty: false, setBy: ?
  212. LOG: p2_header.height () dirty: false, setBy: ?
  213. LOG: --p2<dock> - size: w/h calculated/calculated
  214. LOG: triggeredBy: count=3
  215. LOG: p2.height () dirty: false, setBy: ?
  216. LOG: p2.width () dirty: false, setBy: ?
  217. LOG: p2_header.height () dirty: false, setBy: ?
  218. LOG: --p2_header<body> [isBoxParent] - size: w/h calculated/shrinkWrap
  219. LOG: triggeredBy: count=2
  220. LOG: p2_header.contentHeight () dirty: false, setBy: ?
  221. LOG: p2_header.width () dirty: false, setBy: p2<dock>
  222. LOG: --p2_header<hbox> [isBoxParent] - size: w/h calculated/shrinkWrap
  223. LOG: triggeredBy: count=1
  224. LOG: p2_header-body.width () dirty: false, setBy: ?
  225. LOG: ++p2_header_hd<autocomponent> [isBoxParent] - size: w/h calculated/shrinkWrap
  226. LOG: triggeredBy: count=1
  227. LOG: p2_header_hd.containerChildrenDone:dom (true) dirty: false, setBy: ?
  228. LOG: --p2<ux.gridbag> - size: w/h calculated/calculated
  229. LOG: triggeredBy: count=2
  230. LOG: p2-body.height () dirty: false, setBy: p2<dock>
  231. LOG: p2-body.width () dirty: false, setBy: p2<dock>
  232. LOG: --p1<dock> - size: w/h calculated/calculated
  233. LOG: triggeredBy: count=3
  234. LOG: p1.height () dirty: false, setBy: ?
  235. LOG: p1.width () dirty: false, setBy: ?
  236. LOG: p1_header.height () dirty: false, setBy: ?
  237. LOG: --p1_header<body> [isBoxParent] - size: w/h calculated/shrinkWrap
  238. LOG: triggeredBy: count=2
  239. LOG: p1_header.contentHeight () dirty: false, setBy: ?
  240. LOG: p1_header.width () dirty: false, setBy: p1<dock>
  241. LOG: --p1_header<hbox> [isBoxParent] - size: w/h calculated/shrinkWrap
  242. LOG: triggeredBy: count=1
  243. LOG: p1_header-body.width () dirty: false, setBy: ?
  244. LOG: ++p1_header_hd<autocomponent> [isBoxParent] - size: w/h calculated/shrinkWrap
  245. LOG: triggeredBy: count=1
  246. LOG: p1_header_hd.containerChildrenDone:dom (true) dirty: false, setBy: ?
  247. LOG: --p1<ux.gridbag> - size: w/h calculated/calculated
  248. LOG: triggeredBy: count=2
  249. LOG: p1-body.height () dirty: false, setBy: p1<dock>
  250. LOG: p1-body.width () dirty: false, setBy: p1<dock>
  251. LOG: ++label-1009<autocomponent> - size: w/h shrinkWrap/shrinkWrap
  252. LOG: triggeredBy: count=1
  253. LOG: label-1009.containerChildrenDone:dom (true) dirty: false, setBy: ?
  254. LOG: ++main<dock> - size: w/h calculated/calculated
  255. LOG: triggeredBy: count=3
  256. LOG: main.height (642) dirty: false, setBy: es-mainviewport<fit>
  257. LOG: main.width (908) dirty: false, setBy: es-mainviewport<fit>
  258. LOG: main_header.height (25) dirty: false, setBy: main_header<body>
  259. LOG: ++main_header<body> [isBoxParent] - size: w/h calculated/shrinkWrap
  260. LOG: triggeredBy: count=2
  261. LOG: main_header.contentHeight (17) dirty: false, setBy: main_header<hbox>
  262. LOG: main_header.width (908) dirty: false, setBy: main<dock>
  263. LOG: ++main_header<hbox> [isBoxParent] - size: w/h calculated/shrinkWrap
  264. LOG: triggeredBy: count=2
  265. LOG: main_header-body.width (896) dirty: false, setBy: main_header<body>
  266. LOG: main_header_hd.height (17) dirty: false, setBy: main_header_hd<autocomponent>
  267. LOG: ++main_header_hd<autocomponent> [isBoxParent] - size: w/h calculated/shrinkWrap
  268. LOG: triggeredBy: count=1
  269. LOG: main_header_hd.containerChildrenDone:dom (true) dirty: false, setBy: ?
  270. LOG: Cycles: 9, Flushes: 1, Calculates: 25 in 56 msec
  271. LOG: Calculates by type:
  272. LOG: ux.gridbag: 3 in 5 tries (1.7x) at 36 msec (avg 7.2 msec)
  273. LOG: autocomponent: 5 in 5 tries (1x) at 5 msec (avg 1 msec)
  274. LOG: body: 3 in 5 tries (1.7x) at 2 msec (avg 0.4 msec)
  275. LOG: hbox: 3 in 4 tries (1.3x) at 2 msec (avg 0.5 msec)
  276. LOG: dock: 3 in 5 tries (1.7x) at 1 msec (avg 0.2 msec)
  277. LOG: fit: 1 in 1 tries (1x) at 1 msec (avg 1 msec)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement