From 2fc60efbca702da0425e1f09407814ea9e35fd2d Mon Sep 17 00:00:00 2001 From: f43nd1r Date: Sat, 7 Dec 2019 02:06:57 +0100 Subject: [PATCH] fix grid leaking out of card --- .../main/java/com/faendir/acra/ui/view/app/tabs/AdminTab.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/acrarium/src/main/java/com/faendir/acra/ui/view/app/tabs/AdminTab.java b/acrarium/src/main/java/com/faendir/acra/ui/view/app/tabs/AdminTab.java index 34b609a..d2fe6c1 100644 --- a/acrarium/src/main/java/com/faendir/acra/ui/view/app/tabs/AdminTab.java +++ b/acrarium/src/main/java/com/faendir/acra/ui/view/app/tabs/AdminTab.java @@ -96,8 +96,8 @@ public class AdminTab extends AppTab
{ protected void init(App app) { layout.removeAll(); MyGrid 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);