SEBSERV-429 fix

This commit is contained in:
anhefti 2023-04-13 16:19:35 +02:00
parent 7ef5f91d42
commit b85f726461

View file

@ -213,6 +213,7 @@ interface CellFieldBuilderAdapter {
class ExpandBarCellFieldBuilderAdapter implements CellFieldBuilderAdapter { class ExpandBarCellFieldBuilderAdapter implements CellFieldBuilderAdapter {
public static final int HEIGHT_PER_FIELD = 26;
final Map<String, Collection<Orientation>> orientationsOfExpandBar; final Map<String, Collection<Orientation>> orientationsOfExpandBar;
int x = 100; int x = 100;
@ -278,7 +279,7 @@ interface CellFieldBuilderAdapter {
this.width, this.width,
labelKey); labelKey);
expandItem.setHeight(this.height * 23); expandItem.setHeight(this.height * HEIGHT_PER_FIELD);
final Composite body = (Composite) expandItem.getControl(); final Composite body = (Composite) expandItem.getControl();
final ViewGridBuilder expandBuilder = new ViewGridBuilder( final ViewGridBuilder expandBuilder = new ViewGridBuilder(
body, body,