Solved! Go to Solution.
            if (!_vbox)             {                 _vbox = new VBox();                 _vbox.setStyle("verticalGap", -1)                 _vbox.mouseEnabled = _vbox.mouseChildren = false;                 addChild(_vbox);             }                    <toccomp:TOC id="toc"                                  width="100%"                                  height="100%"                                  labels="{[ZoomToMakeVisible,ExpandAll,CollapseAll]}"                                  useesridescription="{UseNewEsriDescrption}"                                  expanded="{expanded}"                                  disableZoomTo="{disableZoomTo}"                                  fullexpanded="{fullexpand}"                                  legendCollapsed="{legendCollapsed}"                                  liveScrolling="false"                                  variableRowHeight="true"                                  tocMinWidth="{wTemplate.width - 45}"                                  scroller="{scr}"                                  loader="{boxMessage}" paddingTop="0" paddingBottom="0"/> 
					
				
			
			
				
			
			
				
			
			
				
			
			
			
			
			
		            if (!_vbox)             {                 _vbox = new VBox();                 _vbox.setStyle("verticalGap", -1)                 _vbox.mouseEnabled = _vbox.mouseChildren = false;                 addChild(_vbox);             }                    <toccomp:TOC id="toc"                                  width="100%"                                  height="100%"                                  labels="{[ZoomToMakeVisible,ExpandAll,CollapseAll]}"                                  useesridescription="{UseNewEsriDescrption}"                                  expanded="{expanded}"                                  disableZoomTo="{disableZoomTo}"                                  fullexpanded="{fullexpand}"                                  legendCollapsed="{legendCollapsed}"                                  liveScrolling="false"                                  variableRowHeight="true"                                  tocMinWidth="{wTemplate.width - 45}"                                  scroller="{scr}"                                  loader="{boxMessage}" paddingTop="0" paddingBottom="0"/> 
					
				
			
			
				
			
			
				
			
			
			
			
			
			
		