From 2009d1c60686b479f472bc84ebbb33d7814e7bcc Mon Sep 17 00:00:00 2001 From: Anton Keks Date: Mon, 17 Mar 2014 18:49:27 +0200 Subject: [PATCH] still trying to improve info dialog on mac --- src/net/azib/ipscan/gui/InfoDialog.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/net/azib/ipscan/gui/InfoDialog.java b/src/net/azib/ipscan/gui/InfoDialog.java index 0a2f350d..b178f2e7 100644 --- a/src/net/azib/ipscan/gui/InfoDialog.java +++ b/src/net/azib/ipscan/gui/InfoDialog.java @@ -54,7 +54,7 @@ public class InfoDialog extends AbstractModalDialog { Text statsText = new Text(shell, SWT.MULTI | SWT.READ_ONLY); statsText.setBackground(shell.getBackground()); - statsText.setLayoutData(formData(new FormAttachment(iconLabel), new FormAttachment(100), new FormAttachment(titleLabel), null)); + statsText.setLayoutData(formData(250, -1, new FormAttachment(iconLabel), new FormAttachment(100), new FormAttachment(titleLabel), null)); statsText.setText(message); statsText.pack();