-
9 Nov 2010 3:48 AM #1
Autoscroll, FitLayout, BoxMinWidth, BoxMinHeight => double scrollbars
Autoscroll, FitLayout, BoxMinWidth, BoxMinHeight => double scrollbars
I have a panel in a fit layout with minimum height and width set. Its owner has autoScroll on, and my problem is that when either the width or height of the panel goes below the minimum, vertical AND horizontal scrollbars appear even though when only the width or height is too low. How do I fix it so if only 1 scrollbar is needed, it only shows one?
Example code:Code:var viewport = new Ext.Viewport({ layout: 'fit', autoScroll: true, items: [ { layout: 'fit', boxMinWidth: 400, boxMinHeight: 400, items: [ { html: 'Lol' } ] } ] });
-
18 Nov 2010 7:36 AM #2
Bump
also, I don't know what I screwed up, but I somehow managed to fix this by changing the layout value of the container with autoScroll to 'anchor', and adding anchor:'100% 100%' to its child, having the child anchor to the container minus the scrollbar, but for some reason, it's the same problem again: it includes the scrollbar into the height/width calculations. So what can I do to fix this with either FitLayout or AnchorLayout?
Similar Threads
-
[CLOSED-135][3.0.0] ListView double scrollbars with IE7 quirks mode
By martinjrb in forum Ext 3.x: BugsReplies: 7Last Post: 12 Nov 2009, 10:35 AM -
TabPanel with FitLayout
By franck971 in forum Ext GWT: DiscussionReplies: 0Last Post: 21 Aug 2009, 4:52 AM -
FitLayout Force Refresh
By LINEMAN78 in forum Ext GWT: Help & Discussion (1.x)Replies: 3Last Post: 8 Oct 2008, 9:25 AM -
Double V-Scrollbars
By booshan in forum Ext 1.x: Help & DiscussionReplies: 2Last Post: 7 Jun 2007, 7:55 AM


Reply With Quote