Hi,

I'm sure this is excruciatingly simple but i couldn't find an answer (I must
be searching with the wrong keywords).

I have a Panel.
Inside it is a Text component, and a Repeater underneath that (...repeating
a CheckBox) .
All works fine.

I want to set the "maxHeight" of the Panel to 200px, so that if I get too
many Checkboxes appearing, my content will scroll vertically.

When I set maxHeight, I get *both* horizontal and vertical scrollbars
appearing - the horizontal scrollbar only appears because the width of the
vertical scrollbar eats in to the Panel width - therefore I get horizontal
scrolling of about 16 pixels.

If I set horizontalScrollbarPolicy to false then my content is still
clipped.
I'm sure I can muster a workaround easily enough (e.g. manually resize Panel
based on ScrollEvent etc), but I thought there surely must be something
in-built and neater, already in place to deal with this kind of scenario?

Any help much appreciated.

Reply via email to