Better display of authors submitted reflections.

This commit is contained in:
Andreas Svanberg 2023-09-29 09:41:37 +02:00
parent 84f9d82ff2
commit 999b6cc8ae

@ -2,7 +2,7 @@ package se.su.dsv.scipro.project.panels;
import org.apache.wicket.feedback.FencedFeedbackPanel;
import org.apache.wicket.markup.html.WebMarkupContainer;
import org.apache.wicket.markup.html.basic.Label;
import org.apache.wicket.markup.html.basic.MultiLineLabel;
import org.apache.wicket.markup.html.form.EnumChoiceRenderer;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.markup.html.form.FormComponent;
@ -47,7 +47,7 @@ public class FinalStepsPanel extends GenericPanel<Project> {
IModel<String> reflection = LoadableDetachableModel.of(() ->
reflectionService.getSubmittedReflection(projectModel.getObject(), SciProSession.get().getUser()));
add(new Label("reflection", reflection) {
add(new MultiLineLabel("reflection", reflection) {
@Override
protected void onConfigure() {
super.onConfigure();