From b85f72646117da0c7aa46cb8a41ab862a12c3982 Mon Sep 17 00:00:00 2001 From: anhefti Date: Thu, 13 Apr 2023 16:19:35 +0200 Subject: [PATCH] SEBSERV-429 fix --- .../gui/service/examconfig/impl/CellFieldBuilderAdapter.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/ch/ethz/seb/sebserver/gui/service/examconfig/impl/CellFieldBuilderAdapter.java b/src/main/java/ch/ethz/seb/sebserver/gui/service/examconfig/impl/CellFieldBuilderAdapter.java index 5e1f312e..db720158 100644 --- a/src/main/java/ch/ethz/seb/sebserver/gui/service/examconfig/impl/CellFieldBuilderAdapter.java +++ b/src/main/java/ch/ethz/seb/sebserver/gui/service/examconfig/impl/CellFieldBuilderAdapter.java @@ -213,6 +213,7 @@ interface CellFieldBuilderAdapter { class ExpandBarCellFieldBuilderAdapter implements CellFieldBuilderAdapter { + public static final int HEIGHT_PER_FIELD = 26; final Map> orientationsOfExpandBar; int x = 100; @@ -278,7 +279,7 @@ interface CellFieldBuilderAdapter { this.width, labelKey); - expandItem.setHeight(this.height * 23); + expandItem.setHeight(this.height * HEIGHT_PER_FIELD); final Composite body = (Composite) expandItem.getControl(); final ViewGridBuilder expandBuilder = new ViewGridBuilder( body,