How to make the vertical scroll appear as needed, and the horizontal never appeared? I use the standard class ScrollPanel.

  • It depends on what is inside the panel (what is causing the overflow). - cy6erGn0m
  • Inside a table with a variable number of rows. - angry

1 answer 1

Explain what should happen when the element should scroll horizontally (it will be hidden or redraw the parent). If I'm not mistaken, use the styles - overflow-x and overflow-y . Depending on their value, the scroll bar will either appear or not.

  • No need to inherit anything. This is undesirable. Either insert the necessary styles through UiBinder, or customize with CSS. - cy6erGn0m
  • I agree. - Nicolas Chabanovsky