Hi I’m new to vaadin framework and I’m in trouble with creating scrollbar with checkbox group scrolling. Should I wrap it with Panel component?
The code is as bellow (vaadin ver 8)
Hi I’m new to vaadin framework and I’m in trouble with creating scrollbar with checkbox group scrolling. Should I wrap it with Panel component?
The code is as bellow (vaadin ver 8)
I believe in Vaadin 8 there’s a layout class called Panel
which will show a scrollbar if its content is too big. Try wrapping your Checkbox group inside a Panel.
Panel panel = new Panel();
panel.add(myCheckboxGroup);
add(panel);