fix grid leaking out of card
This commit is contained in:
parent
5dc8b19912
commit
2fc60efbca
1 changed files with 2 additions and 2 deletions
|
@ -96,8 +96,8 @@ public class AdminTab extends AppTab<Div> {
|
|||
protected void init(App app) {
|
||||
layout.removeAll();
|
||||
MyGrid<Version> versionGrid = new MyGrid<>(getDataService().getVersionProvider(app));
|
||||
versionGrid.setHeightToRows();
|
||||
versionGrid.setMaxHeight(100, HasSize.Unit.PERCENTAGE);
|
||||
versionGrid.setMinHeight(280, HasSize.Unit.PIXEL);
|
||||
versionGrid.setHeight(100, HasSize.Unit.PERCENTAGE);
|
||||
versionGrid.addColumn(Version::getCode, QVersion.version.code, Messages.VERSION_CODE).setFlexGrow(1);
|
||||
versionGrid.addColumn(Version::getName, QVersion.version.name, Messages.VERSION).setFlexGrow(1);
|
||||
versionGrid.addColumn(new IconRenderer<>(v -> new Icon(v.getMappings() != null ? VaadinIcon.CHECK : VaadinIcon.CLOSE), v -> ""), QVersion.version.mappings.isNotNull(), Messages.PROGUARD_MAPPINGS);
|
||||
|
|
Loading…
Reference in a new issue