From be3a2413dcc06e254b46a69ed38a41482c226290 Mon Sep 17 00:00:00 2001
From: Michal Dobisek <michal.dobisek@gmail.com>
Date: Thu, 18 Apr 2013 12:10:08 +0200
Subject: [PATCH 2/2] Fixed usage of wrong constants in EclipseSpy layout
 definition

---
 .../src/org/eclipse/swtbot/eclipse/spy/EclipseSpy.java               |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/org.eclipse.swtbot.eclipse.spy/src/org/eclipse/swtbot/eclipse/spy/EclipseSpy.java b/org.eclipse.swtbot.eclipse.spy/src/org/eclipse/swtbot/eclipse/spy/EclipseSpy.java
index 5e12928..80a5c5c 100644
--- a/org.eclipse.swtbot.eclipse.spy/src/org/eclipse/swtbot/eclipse/spy/EclipseSpy.java
+++ b/org.eclipse.swtbot.eclipse.spy/src/org/eclipse/swtbot/eclipse/spy/EclipseSpy.java
@@ -66,7 +66,7 @@ public class EclipseSpy {
 
 	private void createOutputText() {
 		output = new StyledText(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL | SWT.READ_ONLY);
-		output.setLayoutData(new GridData(GridData.FILL_HORIZONTAL, GridData.FILL_VERTICAL, true, true));
+		output.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
 		output.setText("To toggle, or freeze info on a particular control, press CTRL+SHIFT: \n");
 		if (isMac()){
 			output.setFont(new Font(Display.getCurrent(), "Monaco", 11, SWT.NONE)); //$NON-NLS-1$
-- 
1.7.10.2 (Apple Git-33)

