Problem Using GWT ScrollPanel

I am trying to show a large image inside a ScrollPanel . ScrollPanel is one of the TabPanel tabs. All this is inside the VerticalSplitPanel .

I expected the ScrollPanel to do the scrolling, but instead it is a VerticalSplitPanel where there are scroll bars.

Can someone help me achieve the desired behavior?

Thanks.

+7
java layout scroll gwt
source share
1 answer

My guess is that I don’t know what your CSS and / or code looks like, that the ScrollPanel does not have a fixed height and expands with content in height. The VerticalSplitPanel probably has a fixed height (or because its context gets a fixed height) and gets a scroll bar. In this case, the height setting on the ScollBar is likely to be fixed.

+10
source share

All Articles