Menu ▾ ▴

#3 ScrollablePanel needs width and height in Percentage

open
nobody
None
5
2004-06-13
2004-06-13
Anonymous
No

Just like a Grid can be configured with widths and
heights in percentages by setting the setWidthUnits and
setHeightUnits, ScrollablePanel needs this as well. I
don't like to hardcode any pixel values in my GUI's unless
I have to. Having the ability to specify widths and
heights of Scrollable's in percentages would keep me
from doing that. I was able to modify your source code
to do this and it works great.

Discussion


Log in to post a comment.