summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java
diff options
context:
space:
mode:
authorJonathan Bauer2017-12-01 17:43:45 +0100
committerJonathan Bauer2017-12-01 17:43:45 +0100
commitf24d3c291d1d58dccd2e8c9e28f9aa368864fa70 (patch)
tree3bfda2f9951f7df9ae1f565a79841e9baf30ca17 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java
parent[client] fix download linked vm's name (diff)
downloadtutor-module-f24d3c291d1d58dccd2e8c9e28f9aa368864fa70.tar.gz
tutor-module-f24d3c291d1d58dccd2e8c9e28f9aa368864fa70.tar.xz
tutor-module-f24d3c291d1d58dccd2e8c9e28f9aa368864fa70.zip
Lecture name should not be multiline!
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/LectureDetailsWindowLayout.java4
1 files changed, 2 insertions, 2 deletions
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();