fixed proctoring settings bug also for UZH

This commit is contained in:
anhefti 2023-04-20 09:51:09 +02:00
parent ce8a509fa9
commit bdec39d6f5

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,