From e82bbbef9a0e5f3f161f575387b0e9bc08764cf7 Mon Sep 17 00:00:00 2001 From: Anatoly Spektor Date: Tue, 20 Nov 2012 13:18:38 -0500 Subject: Fixes wrong size of Textbox when setting bounds (Bug 394583 ) --- .../org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java | 1 - 1 file changed, 1 deletion(-) (limited to 'bundles') diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java index 502305d94e..db9f4d1201 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java @@ -557,7 +557,6 @@ public Point computeSize (int wHint, int hHint, boolean changed) { width = Math.max (width, w [0]); } if (OS.GTK3) { - OS.gtk_widget_set_size_request(handle, wHint, hHint); GtkRequisition requsition = new GtkRequisition(); OS.gtk_widget_get_preferred_size(handle, requsition, null); if (width == 0) width = requsition.width; -- cgit