diff options
| author | Anatoly Spektor <aspektor@redhat.com> | 2012-11-20 13:18:38 -0500 |
|---|---|---|
| committer | Anatoly Spektor <aspektor@redhat.com> | 2012-11-20 13:18:38 -0500 |
| commit | e82bbbef9a0e5f3f161f575387b0e9bc08764cf7 (patch) | |
| tree | fe911c7ab203a59635978729109cc245fa2c18fd | |
| parent | 22ea81c47e5fff70f38755875d778ad67b10dd55 (diff) | |
| download | eclipse.platform.swt-e82bbbef9a0e5f3f161f575387b0e9bc08764cf7.tar.gz eclipse.platform.swt-e82bbbef9a0e5f3f161f575387b0e9bc08764cf7.tar.xz eclipse.platform.swt-e82bbbef9a0e5f3f161f575387b0e9bc08764cf7.zip | |
Fixes wrong size of Textbox when setting bounds (Bug 394583 )coolbar_clipping
| -rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java | 1 |
1 files changed, 0 insertions, 1 deletions
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; |
