Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var l1 = {xtype:'label',
- text:'LLL1',
- layoutConstraints:{gridx:0, gridy:0}
- };
- var p1 = {id:'p1',
- title:'P1',
- layout:'ux.gridbag',
- layoutConstraints:{gridx:0, gridy:0},
- items:[l1]
- };
- var p2 = {id:'p2',
- title:'P2',
- layout:'ux.gridbag',
- layoutConstraints:{gridx:0, gridy:0},
- items:[p1]
- };
- var pmain = {id:'main',
- title: 'Main',
- layout:'ux.gridbag',
- items:[p2]
- };
- Ext.create('Ext.Viewport',
- {id : 'es-mainviewport',
- layout : 'fit',
- items:[pmain]}
- );
- LOG: ==================== LAYOUT ====================
- LOG: >> flushInvalidates
- LOG: ext-gen1018 consumers: content=0/0, container=0/0, size=0/0
- LOG: main consumers: content=0/0, container=0/0, size=0/0
- LOG: main_header consumers: content=0/0, container=0/0, size=0/0
- LOG: main_header_hd consumers: content=0/0, container=0/0, size=0/0
- LOG: resetLayout: main_header_hd<autocomponent> ( 0 running)
- LOG: resetLayout: main_header<body> ( 1 running)
- LOG: resetLayout: main_header<hbox> ( 2 running)
- LOG: p2 consumers: content=0/0, container=0/0, size=0/0
- LOG: p2_header consumers: content=0/0, container=0/0, size=0/0
- LOG: p2_header_hd consumers: content=0/0, container=0/0, size=0/0
- LOG: resetLayout: p2_header_hd<autocomponent> ( 3 running)
- LOG: resetLayout: p2_header<body> ( 4 running)
- LOG: resetLayout: p2_header<hbox> ( 5 running)
- LOG: p1 consumers: content=0/0, container=0/0, size=0/0
- LOG: p1_header consumers: content=0/0, container=0/0, size=0/0
- LOG: p1_header_hd consumers: content=0/0, container=0/0, size=0/0
- LOG: resetLayout: p1_header_hd<autocomponent> ( 6 running)
- LOG: resetLayout: p1_header<body> ( 7 running)
- LOG: resetLayout: p1_header<hbox> ( 8 running)
- LOG: label-1009 consumers: content=0/0, container=0/0, size=0/0
- LOG: resetLayout: label-1009<autocomponent> ( 9 running)
- LOG: resetLayout: p1<dock> ( 10 running)
- LOG: resetLayout: p1<ux.gridbag> ( 11 running)
- LOG: resetLayout: p2<dock> ( 12 running)
- LOG: resetLayout: p2<ux.gridbag> ( 13 running)
- LOG: resetLayout: main<dock> ( 14 running)
- LOG: resetLayout: main<ux.gridbag> ( 15 running)
- LOG: resetLayout: es-mainviewport<autocomponent> ( 16 running)
- LOG: set ext-gen1018.width = 908 (false)
- LOG: set ext-gen1018.height = 642 (false)
- LOG: resetLayout: es-mainviewport<fit> ( 17 running)
- LOG: << flushInvalidates
- LOG: --- Flush 0
- LOG: >>> Cycle 0 (queue length: 18)
- LOG: -- calculate main_header_hd<autocomponent>
- LOG: set main_header_hd.contentHeight = 17 ()
- LOG: set main_header_hd.height = 17 (false)
- LOG: layoutDone: main_header_hd<autocomponent> ( 18 running)
- LOG: set main_header_hd.done = true ()
- LOG: set main_header.containerChildrenDone = true ()
- LOG: set main_header.childrenDone = true ()
- LOG: -- calculate main_header<body>
- LOG: -- calculate main_header<hbox>
- LOG: -- calculate p2_header_hd<autocomponent>
- LOG: set p2_header_hd.contentHeight = 17 ()
- LOG: set p2_header_hd.height = 17 (false)
- LOG: layoutDone: p2_header_hd<autocomponent> ( 17 running)
- LOG: set p2_header_hd.done = true ()
- LOG: set p2_header.containerChildrenDone = true ()
- LOG: set p2_header.childrenDone = true ()
- LOG: -- calculate p2_header<body>
- LOG: -- calculate p2_header<hbox>
- LOG: -- calculate p1_header_hd<autocomponent>
- LOG: set p1_header_hd.contentHeight = 17 ()
- LOG: set p1_header_hd.height = 17 (false)
- LOG: layoutDone: p1_header_hd<autocomponent> ( 16 running)
- LOG: set p1_header_hd.done = true ()
- LOG: set p1_header.containerChildrenDone = true ()
- LOG: set p1_header.childrenDone = true ()
- LOG: -- calculate p1_header<body>
- LOG: -- calculate p1_header<hbox>
- LOG: -- calculate label-1009<autocomponent>
- LOG: set label-1009.contentWidth = 24 ()
- LOG: set label-1009.contentHeight = 14 ()
- LOG: set label-1009.width = 24 (false)
- LOG: set label-1009.height = 14 (false)
- LOG: layoutDone: label-1009<autocomponent> ( 15 running)
- LOG: set label-1009.done = true ()
- LOG: set p1.containerChildrenDone = true ()
- LOG: -- calculate p1<dock>
- LOG: set p1-body.x = 0 ()
- LOG: -- calculate p1<ux.gridbag>
- LOG: calc p1 layoutId:ux.gridbag-1030 cycleCount:1
- LOG: calc p1 NOT done
- LOG: -- calculate p2<dock>
- LOG: set p2-body.x = 0 ()
- LOG: -- calculate p2<ux.gridbag>
- LOG: calc p2 layoutId:ux.gridbag-1028 cycleCount:1
- LOG: calc p2 NOT done
- LOG: -- calculate main<dock>
- LOG: set main-body.x = 0 ()
- LOG: -- calculate main<ux.gridbag>
- LOG: calc main layoutId:ux.gridbag-1026 cycleCount:1
- LOG: calc main NOT done
- LOG: -- calculate es-mainviewport<autocomponent>
- LOG: layoutDone: es-mainviewport<autocomponent> ( 14 running)
- LOG: set ext-gen1018.done = true ()
- LOG: -- calculate es-mainviewport<fit>
- LOG: set main.margin-top = 0 ()
- LOG: set main.margin-right = 0 ()
- LOG: set main.margin-bottom = 0 ()
- LOG: set main.margin-left = 0 ()
- LOG: set main.width = 908 ()
- LOG: Queue main<dock>
- LOG: set main.height = 642 ()
- LOG: layoutDone: es-mainviewport<fit> ( 13 running)
- LOG: set ext-gen1018.containerLayoutDone = true ()
- LOG: >>> Cycle 1 (queue length: 1)
- LOG: -- calculate main<dock>
- LOG: set main_header.width = 908 ()
- LOG: Queue main_header<body>
- LOG: set main-body.width = 908 ()
- LOG: Queue main<ux.gridbag>
- LOG: >>> Cycle 2 (queue length: 2)
- LOG: -- calculate main_header<body>
- LOG: set main_header-body.width = 896 (true)
- LOG: Queue main_header<hbox>
- LOG: -- calculate main<ux.gridbag>
- LOG: calc main layoutId:ux.gridbag-1026 cycleCount:3
- LOG: calc main NOT done
- LOG: >>> Cycle 3 (queue length: 1)
- LOG: -- calculate main_header<hbox>
- LOG: set main_header_hd.margin-top = 0 ()
- LOG: set main_header_hd.margin-right = 0 ()
- LOG: set main_header_hd.margin-bottom = 0 ()
- LOG: set main_header_hd.margin-left = 0 ()
- LOG: set main_header_hd.width = 896 ()
- LOG: set main_header_hd.x = 0 ()
- LOG: set main_header.contentWidth = 896 ()
- LOG: set main_header.contentHeight = 17 ()
- LOG: Queue main_header<body>
- LOG: set main_header_hd.y = 0 ()
- LOG: set main_header-innerCt.width = 896 ()
- LOG: set main_header-innerCt.height = 17 ()
- LOG: layoutDone: main_header<hbox> ( 12 running)
- LOG: set main_header.containerLayoutDone = true ()
- LOG: >>> Cycle 4 (queue length: 1)
- LOG: -- calculate main_header<body>
- LOG: set main_header.height = 25 (false)
- LOG: Queue main<dock>
- LOG: layoutDone: main_header<body> ( 11 running)
- LOG: set main_header.done = true ()
- LOG: set main.componentChildrenDone = true ()
- LOG: >>> Cycle 5 (queue length: 1)
- LOG: -- calculate main<dock>
- LOG: set main-body.height = 617 ()
- LOG: Queue main<ux.gridbag>
- LOG: set main-body.y = 25 ()
- LOG: set main_header.x = 0 ()
- LOG: set main_header.y = 0 ()
- LOG: layoutDone: main<dock> ( 10 running)
- LOG: set main.done = true ()
- LOG: set ext-gen1018.containerChildrenDone = true ()
- LOG: set ext-gen1018.childrenDone = true ()
- LOG: >>> Cycle 6 (queue length: 1)
- LOG: -- calculate main<ux.gridbag>
- LOG: calc main layoutId:ux.gridbag-1026 cycleCount:7
- LOG: layout main tw:906 th:615 cycleCount:7
- LOG: prefsize p2
- LOG: prefsize p1
- LOG: prefsize label-1009 w=25 h=15
- LOG: prefsize p1 w:25 h:15 missingW/H:0x0
- LOG: prefsize p1 w=27 h=NaN
- LOG: prefsize p2 w:27 h:0 missingW/H:0x1
- LOG: prefsize p2 w=NaN h=NaN
- LOG: layout main missingW/H: 1x1
- LOG: set p2.x = 453 ()
- LOG: set p2.y = 307 ()
- LOG: calc main NOT done
- LOG: >>> Cycle 7 (queue length: 0)
- LOG: --- Flush 16
- LOG: >>> Cycle 8 (queue length: 0)
- LOG: Layout run failed
- [E] ----------------- FAILURE -----------------
- LOG: ++es-mainviewport<autocomponent> - size: w/h configured/configured
- LOG: ++es-mainviewport<fit> - size: w/h configured/configured
- LOG: triggeredBy: count=2
- LOG: ext-gen1018.height (642) dirty: false, setBy: es-mainviewport<autocomponent>
- LOG: ext-gen1018.width (908) dirty: false, setBy: es-mainviewport<autocomponent>
- LOG: --main<ux.gridbag> - size: w/h calculated/calculated
- LOG: triggeredBy: count=6
- LOG: label-1009.height (14) dirty: false, setBy: label-1009<autocomponent>
- LOG: label-1009.width (24) dirty: false, setBy: label-1009<autocomponent>
- LOG: main-body.height (617) dirty: false, setBy: main<dock>
- LOG: main-body.width (908) dirty: false, setBy: main<dock>
- LOG: p1_header.height () dirty: false, setBy: ?
- LOG: p2_header.height () dirty: false, setBy: ?
- LOG: --p2<dock> - size: w/h calculated/calculated
- LOG: triggeredBy: count=3
- LOG: p2.height () dirty: false, setBy: ?
- LOG: p2.width () dirty: false, setBy: ?
- LOG: p2_header.height () dirty: false, setBy: ?
- LOG: --p2_header<body> [isBoxParent] - size: w/h calculated/shrinkWrap
- LOG: triggeredBy: count=2
- LOG: p2_header.contentHeight () dirty: false, setBy: ?
- LOG: p2_header.width () dirty: false, setBy: p2<dock>
- LOG: --p2_header<hbox> [isBoxParent] - size: w/h calculated/shrinkWrap
- LOG: triggeredBy: count=1
- LOG: p2_header-body.width () dirty: false, setBy: ?
- LOG: ++p2_header_hd<autocomponent> [isBoxParent] - size: w/h calculated/shrinkWrap
- LOG: triggeredBy: count=1
- LOG: p2_header_hd.containerChildrenDone:dom (true) dirty: false, setBy: ?
- LOG: --p2<ux.gridbag> - size: w/h calculated/calculated
- LOG: triggeredBy: count=2
- LOG: p2-body.height () dirty: false, setBy: p2<dock>
- LOG: p2-body.width () dirty: false, setBy: p2<dock>
- LOG: --p1<dock> - size: w/h calculated/calculated
- LOG: triggeredBy: count=3
- LOG: p1.height () dirty: false, setBy: ?
- LOG: p1.width () dirty: false, setBy: ?
- LOG: p1_header.height () dirty: false, setBy: ?
- LOG: --p1_header<body> [isBoxParent] - size: w/h calculated/shrinkWrap
- LOG: triggeredBy: count=2
- LOG: p1_header.contentHeight () dirty: false, setBy: ?
- LOG: p1_header.width () dirty: false, setBy: p1<dock>
- LOG: --p1_header<hbox> [isBoxParent] - size: w/h calculated/shrinkWrap
- LOG: triggeredBy: count=1
- LOG: p1_header-body.width () dirty: false, setBy: ?
- LOG: ++p1_header_hd<autocomponent> [isBoxParent] - size: w/h calculated/shrinkWrap
- LOG: triggeredBy: count=1
- LOG: p1_header_hd.containerChildrenDone:dom (true) dirty: false, setBy: ?
- LOG: --p1<ux.gridbag> - size: w/h calculated/calculated
- LOG: triggeredBy: count=2
- LOG: p1-body.height () dirty: false, setBy: p1<dock>
- LOG: p1-body.width () dirty: false, setBy: p1<dock>
- LOG: ++label-1009<autocomponent> - size: w/h shrinkWrap/shrinkWrap
- LOG: triggeredBy: count=1
- LOG: label-1009.containerChildrenDone:dom (true) dirty: false, setBy: ?
- LOG: ++main<dock> - size: w/h calculated/calculated
- LOG: triggeredBy: count=3
- LOG: main.height (642) dirty: false, setBy: es-mainviewport<fit>
- LOG: main.width (908) dirty: false, setBy: es-mainviewport<fit>
- LOG: main_header.height (25) dirty: false, setBy: main_header<body>
- LOG: ++main_header<body> [isBoxParent] - size: w/h calculated/shrinkWrap
- LOG: triggeredBy: count=2
- LOG: main_header.contentHeight (17) dirty: false, setBy: main_header<hbox>
- LOG: main_header.width (908) dirty: false, setBy: main<dock>
- LOG: ++main_header<hbox> [isBoxParent] - size: w/h calculated/shrinkWrap
- LOG: triggeredBy: count=2
- LOG: main_header-body.width (896) dirty: false, setBy: main_header<body>
- LOG: main_header_hd.height (17) dirty: false, setBy: main_header_hd<autocomponent>
- LOG: ++main_header_hd<autocomponent> [isBoxParent] - size: w/h calculated/shrinkWrap
- LOG: triggeredBy: count=1
- LOG: main_header_hd.containerChildrenDone:dom (true) dirty: false, setBy: ?
- LOG: Cycles: 9, Flushes: 1, Calculates: 25 in 56 msec
- LOG: Calculates by type:
- LOG: ux.gridbag: 3 in 5 tries (1.7x) at 36 msec (avg 7.2 msec)
- LOG: autocomponent: 5 in 5 tries (1x) at 5 msec (avg 1 msec)
- LOG: body: 3 in 5 tries (1.7x) at 2 msec (avg 0.4 msec)
- LOG: hbox: 3 in 4 tries (1.3x) at 2 msec (avg 0.5 msec)
- LOG: dock: 3 in 5 tries (1.7x) at 1 msec (avg 0.2 msec)
- LOG: fit: 1 in 1 tries (1x) at 1 msec (avg 1 msec)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement