Hi,
I try to change the size of the checkbox inside a grid with this code but with no success:
...
private Grid<Person> grid;
grid = new Grid<>();
...
grid.addComponentColumn(person -> {
Checkbox checkbox = new Checkbox();
checkbox.setWidth("70px");
checkbox.setHeight("70px");
checkbox.setValue(person.isAnwesend());
checkbox.addValueChangeListener(click -> {
changeIsAnwesend(person);
});
return checkbox;
})
.setFlexGrow(0)
.setWidth(UIUtils.COLUMN_WIDTH_XS);
same with:
checkbox.setMinHeight("70px");
checkbox.setMinWidth("70px");
any recomandation?
Thank you,