diff options
author | Simon Rettberg | 2015-07-10 14:58:08 +0200 |
---|---|---|
committer | Simon Rettberg | 2015-07-10 14:58:08 +0200 |
commit | b1298643908e80a5bd4763d1e2b13aa9992d5048 (patch) | |
tree | 43066b3cf826db0a19eed9a5112dd7072866b7f4 /dozentenmodul/src/main/java/org/openslx/dozmod/gui/window/layout/ImageListWindowLayout.java | |
parent | [client] close popups a bit safer (diff) | |
download | tutor-module-b1298643908e80a5bd4763d1e2b13aa9992d5048.tar.gz tutor-module-b1298643908e80a5bd4763d1e2b13aa9992d5048.tar.xz tutor-module-b1298643908e80a5bd4763d1e2b13aa9992d5048.zip |
[client] More refactoring, introduce a Gui helper class (again)
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.java | 4 |
1 files changed, 2 insertions, 2 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 a66d47ff..4c66c996 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 @@ -15,7 +15,7 @@ import org.eclipse.swt.widgets.Group; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Table; import org.eclipse.swt.widgets.Text; -import org.openslx.dozmod.gui.MainWindow; +import org.openslx.dozmod.gui.helper.Gui; import org.openslx.dozmod.gui.helper.TableHelper; public abstract class ImageListWindowLayout extends Composite { @@ -70,7 +70,7 @@ public abstract class ImageListWindowLayout extends Composite { infoTitle.setText(infoTitleString); // set the fond FontData fontData = infoTitle.getFont().getFontData()[0]; - Font font = new Font(MainWindow.getDisplay(), new FontData(fontData.getName(), fontData + Font font = new Font(Gui.display, new FontData(fontData.getName(), fontData .getHeight(), SWT.BOLD)); infoTitle.setFont(font); // the infotext |