diff options
author | Jonathan Bauer | 2015-09-08 17:02:33 +0200 |
---|---|---|
committer | Jonathan Bauer | 2015-09-08 17:02:33 +0200 |
commit | ad9262583a19525fca1936bf6c339c3c5f32480e (patch) | |
tree | eed5f664e864905a7227407e5c2eba21dd8034ad | |
parent | [client] evaluate max memory of OS when generating vmx (diff) | |
download | tutor-module-ad9262583a19525fca1936bf6c339c3c5f32480e.tar.gz tutor-module-ad9262583a19525fca1936bf6c339c3c5f32480e.tar.xz tutor-module-ad9262583a19525fca1936bf6c339c3c5f32480e.zip |
[client] Top alignment image and lecture information text
-rw-r--r-- | dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/MainMenuWindowLayout.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/MainMenuWindowLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/MainMenuWindowLayout.java index 34429bf5..a205196c 100644 --- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/MainMenuWindowLayout.java +++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/MainMenuWindowLayout.java @@ -60,9 +60,10 @@ public abstract class MainMenuWindowLayout extends CompositePage { vmButton = new JButton(ResourceLoader.getIcon("/img/virtualization.png", "VM-Übersicht")); JLabel vmInfoLabel = new JLabel(vmInfo); + vmInfoLabel.setVerticalAlignment(JLabel.TOP); lecturesButton = new JButton(ResourceLoader.getIcon("/img/lecture.png", "Veranstaltungen")); JLabel lecturesInfoLabel = new JLabel(lecturesInfo); - + lecturesInfoLabel.setVerticalAlignment(JLabel.TOP); grid.add(vmButton).fill(true, false).expand(true, false); grid.add(lecturesButton).fill(true, false).expand(true, false); grid.nextRow(); |