PDA

View Full Version : [FIXED] No horizontal scrollbar for Panel with big content



hrosenbauer
4 Oct 2011, 1:22 AM
REQUIRED INFORMATION


Ext version tested:
Ext 4.0.2a

Browser versions tested against:
IE9 FF7 Chrome 14

DOCTYPE tested against:
<!DOCTYPE html>

Description:
Adding multiple grids (or other Components) to a Panel with hbox-Layout won't show a horizontal scrollbar (even if autoScroll=true)

Steps to reproduce the problem:

see http://jsfiddle.net/rebugger/QRc6Q/1/
Create Panel with hbox-Layout
add multiple Components as items
set autoScroll=true for the panel


The result that was expected:

Panel shows a scrollbar for horizontal scrolling


The result that occurs instead:
No scrollbar appears
setting x-overflow:scroll via css will show a scrollbar, but the height of the children is calculated wrong

Test Case:

see Demo

HELPFUL INFORMATION

Screenshot or Video:
28499

See this URL for live test case: http://jsfiddle.net/rebugger/QRc6Q/1/


Debugging already done:
none

Possible fix:
not provided

Additional CSS used:
only default ext-all.css custom css (include details)

Operating System:
Windows 7

gordonk66
19 Dec 2011, 10:09 PM
Any known workarounds to this bug?

hrosenbauer
20 Dec 2011, 5:23 AM
I added an "overflow" css-property as hotfix, but it's not perfect.