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 pmain = {id:'main',
- title: 'Main',
- layout:'ux.gridbag',
- items:[p1]
- };
- 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: 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> ( 3 running)
- LOG: resetLayout: p1_header<body> ( 4 running)
- LOG: resetLayout: p1_header<hbox> ( 5 running)
- LOG: label-1009 consumers: content=0/0, container=0/0, size=0/0
- LOG: resetLayout: label-1009<autocomponent> ( 6 running)
- LOG: resetLayout: p1<dock> ( 7 running)
- LOG: resetLayout: p1<ux.gridbag> ( 8 running)
- LOG: resetLayout: main<dock> ( 9 running)
- LOG: resetLayout: main<ux.gridbag> ( 10 running)
- LOG: resetLayout: es-mainviewport<autocomponent> ( 11 running)
- LOG: set ext-gen1018.width = 908 (false)
- LOG: set ext-gen1018.height = 642 (false)
- LOG: resetLayout: es-mainviewport<fit> ( 12 running)
- LOG: << flushInvalidates
- LOG: --- Flush 0
- LOG: >>> Cycle 0 (queue length: 13)
- 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> ( 13 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 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> ( 12 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> ( 11 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-1028 cycleCount:1
- LOG: calc p1 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> ( 10 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> ( 9 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> ( 8 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> ( 7 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> ( 6 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 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: layout main missingW/H: 0x1
- LOG: set p1.x = 439 ()
- LOG: set p1.y = 307 ()
- LOG: set p1.width = 27 ()
- LOG: Queue p1<dock>
- LOG: calc main NOT done
- LOG: >>> Cycle 7 (queue length: 1)
- LOG: -- calculate p1<dock>
- LOG: set p1_header.width = 27 ()
- LOG: Queue p1_header<body>
- LOG: set p1-body.width = 27 ()
- LOG: Queue p1<ux.gridbag>
- LOG: >>> Cycle 8 (queue length: 2)
- LOG: -- calculate p1_header<body>
- LOG: set p1_header-body.width = 15 (true)
- LOG: Queue p1_header<hbox>
- LOG: -- calculate p1<ux.gridbag>
- LOG: calc p1 layoutId:ux.gridbag-1028 cycleCount:9
- LOG: calc p1 NOT done
- LOG: >>> Cycle 9 (queue length: 1)
- LOG: -- calculate p1_header<hbox>
- LOG: set p1_header_hd.margin-top = 0 ()
- LOG: set p1_header_hd.margin-right = 0 ()
- LOG: set p1_header_hd.margin-bottom = 0 ()
- LOG: set p1_header_hd.margin-left = 0 ()
- LOG: set p1_header_hd.width = 15 ()
- LOG: set p1_header_hd.x = 0 ()
- LOG: set p1_header.contentWidth = 15 ()
- LOG: set p1_header.contentHeight = 17 ()
- LOG: Queue p1_header<body>
- LOG: set p1_header_hd.y = 0 ()
- LOG: set p1_header-innerCt.width = 15 ()
- LOG: set p1_header-innerCt.height = 17 ()
- LOG: layoutDone: p1_header<hbox> ( 5 running)
- LOG: set p1_header.containerLayoutDone = true ()
- LOG: >>> Cycle 10 (queue length: 1)
- LOG: -- calculate p1_header<body>
- LOG: set p1_header.height = 25 (false)
- LOG: Queue p1<dock>
- LOG: Queue main<ux.gridbag>
- LOG: layoutDone: p1_header<body> ( 4 running)
- LOG: set p1_header.done = true ()
- LOG: set p1.componentChildrenDone = true ()
- LOG: set p1.childrenDone = true ()
- LOG: >>> Cycle 11 (queue length: 2)
- LOG: -- calculate p1<dock>
- LOG: set p1-body.y = 25 ()
- LOG: -- calculate main<ux.gridbag>
- LOG: calc main layoutId:ux.gridbag-1026 cycleCount:12
- LOG: layout main tw:906 th:615 cycleCount:12
- 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=42
- LOG: rect p1 x:439 y:286 w:27 h:42
- LOG: set p1.y = 286 ()
- LOG: set p1.height = 42 ()
- LOG: Queue p1<dock>
- LOG: calc main done
- LOG: layoutDone: main<ux.gridbag> ( 3 running)
- LOG: set main.containerLayoutDone = true ()
- LOG: >>> Cycle 12 (queue length: 1)
- LOG: -- calculate p1<dock>
- LOG: set p1-body.height = 17 ()
- LOG: Queue p1<ux.gridbag>
- LOG: set p1_header.x = 0 ()
- LOG: set p1_header.y = 0 ()
- LOG: layoutDone: p1<dock> ( 2 running)
- LOG: set p1.done = true ()
- LOG: set main.containerChildrenDone = true ()
- LOG: set main.childrenDone = true ()
- LOG: >>> Cycle 13 (queue length: 1)
- LOG: -- calculate p1<ux.gridbag>
- LOG: calc p1 layoutId:ux.gridbag-1028 cycleCount:14
- LOG: layout p1 tw:25 th:15 cycleCount:14
- LOG: prefsize label-1009 w=25 h=15
- LOG: rect label-1009 x:0 y:0 w:25 h:15
- LOG: set label-1009.x = 0 ()
- LOG: set label-1009.y = 0 ()
- LOG: calc p1 done
- LOG: layoutDone: p1<ux.gridbag> ( 1 running)
- LOG: set p1.containerLayoutDone = true ()
- LOG: --- Flush 14
- LOG: --- Flush 0
- LOG: --- Flush 0
- LOG: ----------------- SUCCESS -----------------
- 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<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: ++main<ux.gridbag> - size: w/h calculated/calculated
- LOG: triggeredBy: count=5
- 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 (25) dirty: false, setBy: p1_header<body>
- LOG: ++p1<dock> - size: w/h calculated/calculated
- LOG: triggeredBy: count=3
- LOG: p1.height (42) dirty: false, setBy: main<ux.gridbag>
- LOG: p1.width (27) dirty: false, setBy: main<ux.gridbag>
- LOG: p1_header.height (25) dirty: false, setBy: p1_header<body>
- LOG: ++p1_header<body> [isBoxParent] - size: w/h calculated/shrinkWrap
- LOG: triggeredBy: count=2
- LOG: p1_header.contentHeight (17) dirty: false, setBy: p1_header<hbox>
- LOG: p1_header.width (27) dirty: false, setBy: p1<dock>
- LOG: ++p1_header<hbox> [isBoxParent] - size: w/h calculated/shrinkWrap
- LOG: triggeredBy: count=2
- LOG: p1_header-body.width (15) dirty: false, setBy: p1_header<body>
- LOG: p1_header_hd.height (17) dirty: false, setBy: p1_header_hd<autocomponent>
- 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=4
- LOG: label-1009.height (14) dirty: false, setBy: label-1009<autocomponent>
- LOG: label-1009.width (24) dirty: false, setBy: label-1009<autocomponent>
- LOG: p1-body.height (17) dirty: false, setBy: p1<dock>
- LOG: p1-body.width (27) 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: Cycles: 14, Flushes: 1, Calculates: 29 in 179 msec
- LOG: Calculates by type:
- LOG: ux.gridbag: 2 in 7 tries (3.5x) at 92 msec (avg 13.143 msec)
- LOG: autocomponent: 4 in 4 tries (1x) at 14 msec (avg 3.5 msec)
- LOG: hbox: 2 in 4 tries (2x) at 6 msec (avg 1.5 msec)
- LOG: dock: 2 in 7 tries (3.5x) at 5 msec (avg 0.714 msec)
- LOG: fit: 1 in 1 tries (1x) at 2 msec (avg 2 msec)
- LOG: body: 2 in 6 tries (3x) at 1 msec (avg 0.167 msec)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement