summaryrefslogtreecommitdiffstats
path: root/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java
diff options
context:
space:
mode:
authorStephan Schwaer2015-07-23 14:21:18 +0200
committerStephan Schwaer2015-07-23 14:21:18 +0200
commitb40a58329436b73f52084533c3b2267aec74d211 (patch)
treeb1183854546672a6b005c71545871efe165390e5 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java
parent[client] Adapt to RPC/VmMeta changes, store VmMeta in upload wizard state (diff)
downloadtutor-module-b40a58329436b73f52084533c3b2267aec74d211.tar.gz
tutor-module-b40a58329436b73f52084533c3b2267aec74d211.tar.xz
tutor-module-b40a58329436b73f52084533c3b2267aec74d211.zip
[client] Cleaned up layout code of gui a bit.
Diffstat (limited to 'dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java')
-rw-r--r--dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java
index be0f74ca..6397c820 100644
--- a/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java
+++ b/dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java
@@ -63,9 +63,7 @@ public abstract class ImageListWindowLayout extends CompositePage {
// -- info group with title and text --
Composite infoComposite = new Composite(this, SWT.BORDER);
- GridData infoGridData = new GridData(SWT.FILL, SWT.FILL, true, false);
- infoGridData.horizontalSpan = 2;
- infoComposite.setLayoutData(infoGridData);
+ infoComposite.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 2, 1));
// layout for the items of the group
infoComposite.setLayout(new GridLayout(1, false));
@@ -94,10 +92,9 @@ public abstract class ImageListWindowLayout extends CompositePage {
// -- group for the filter --
Group filterGroup = new Group(tableGroup, SWT.BORDER);
filterGroup.setText(filterGroupLabel);
- GridData fgGridData = new GridData(SWT.FILL, SWT.TOP, true, false);
+ GridData fgGridData = new GridData(SWT.FILL, SWT.TOP, true, false, 2, 1);
fgGridData.minimumWidth = 400;
fgGridData.widthHint = 800;
- fgGridData.horizontalSpan = 2;
filterGroup.setLayoutData(fgGridData);
filterGroup.setLayout(new GridLayout());