From d5047c5466931cfdd799c8501cf9ddb18b304787 Mon Sep 17 00:00:00 2001 From: Tobias Kellner Date: Thu, 8 Oct 2015 17:35:58 +0200 Subject: Wrap about text --- .../java/at/asit/pdfover/gui/composites/ConfigurationComposite.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'pdf-over-gui/src/main/java/at/asit') diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java index ca61d098..f5809aaa 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/composites/ConfigurationComposite.java @@ -305,12 +305,13 @@ public class ConfigurationComposite extends StateComposite { grpAbout.setFont(new Font(Display.getCurrent(), fD_grpAbout[0]));*/ - this.lnkAbout = new Link(this, SWT.NONE); + this.lnkAbout = new Link(this, SWT.WRAP); FormData fd_lnkAbout = new FormData(); fd_lnkAbout.right = new FormAttachment(100, -5); fd_lnkAbout.left = new FormAttachment(0, 5); fd_lnkAbout.top = new FormAttachment(0, 5); + fd_lnkAbout.width = 100; this.lnkAbout.setLayoutData(fd_lnkAbout); FontData[] fD_lnkAbout = this.lnkAbout.getFont().getFontData(); @@ -337,6 +338,7 @@ public class ConfigurationComposite extends StateComposite { } } }); + // Load localized strings reloadResources(); } -- cgit v1.2.3