7 Apr 2011 2:23 AM #1
Scoll doesnt work
hi, i have a LayoutContainer (Layout:BorderLayout), there is a ContentPanel on its west side, the layout of the ContentPanel is VBoxLayout and i call the setScrollMode(Style.Scroll.ALWAYS) on the ContentPanel. so the scollbar will be always showed.
then i add some buttons on the ContentPanel in runtime. when the buttons are too many and out of the border, they will be just hided, the scollbar doesn't work, i call the layout() on ContentPanel everytime when i add a button onto it. But the scollbar just don't mention the content is out of the border.
anybody can help me? thanks!
btw, i found there is a inner div with the classname x-box-inner just outside my buttons (, which are tables), there is a css defination on the div in gxt-all.css, "overflow: none;". if i change it to overflow: visible; or auto; it works fine.
By jedihua in forum Sencha Touch 1.x: DiscussionReplies: 8Last Post: 8 Oct 2010, 3:37 PM
By stevebla in forum Ext 2.x: Help & DiscussionReplies: 1Last Post: 9 Apr 2009, 7:03 AM
By azbuco in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 2 Mar 2009, 12:29 AM
By flipthefrog in forum Community DiscussionReplies: 1Last Post: 12 Feb 2009, 6:21 PM
By gmichael in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 19 May 2008, 8:50 PM