From f24d3c291d1d58dccd2e8c9e28f9aa368864fa70 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 1 Dec 2017 17:43:45 +0100 Subject: Lecture name should not be multiline! --- .../openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dozentenmodul/src/main/java') diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java index 351c33e2..2ff98a30 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java @@ -54,7 +54,7 @@ public abstract class LectureDetailsWindowLayout extends JDialog { // stuff ending in '...Info' are supposed to be the read-only labels for the information tab protected final QLabel lblTitleInfo; - protected final JTextArea txtTitle; + protected final JTextField txtTitle; protected final JTextArea txtDescription; protected final QLabel lblImageNameInfo; protected final QLabel txtImageName; @@ -178,7 +178,7 @@ public abstract class LectureDetailsWindowLayout extends JDialog { pnlTabGeneral.setBorder(BorderFactory.createEmptyBorder(10, 10, 10, 10)); GridManager grdGeneral = new GridManager(pnlTabGeneral, 5, true, new Insets(3, 3, 3, 3)); // lecture title - txtTitle = new JTextArea(); + txtTitle = new JTextField(); grdGeneral.add(new QLabel("Name")); grdGeneral.add(txtTitle, 4).expand(true, false).fill(true, false); grdGeneral.nextRow(); -- cgit v1.2.3-55-g7522