diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormData.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormData.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormData.java b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormData.java index 3159c799a0..56100f88c2 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormData.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormData.java @@ -333,15 +333,15 @@ FormAttachment getTopAttachment (Control control, int spacing, boolean flushCach */ @Override public String toString () { - String string = getName()+" {"; - if (width != SWT.DEFAULT) string += "width="+width+" "; + String string = getName()+" {"; + if (width != SWT.DEFAULT) string += "width="+width+" "; if (height != SWT.DEFAULT) string += "height="+height+" "; - if (left != null) string += "left="+left+" "; - if (right != null) string += "right="+right+" "; - if (top != null) string += "top="+top+" "; - if (bottom != null) string += "bottom="+bottom+" "; - string = string.trim(); - string += "}"; + if (left != null) string += "left="+left+" "; + if (right != null) string += "right="+right+" "; + if (top != null) string += "top="+top+" "; + if (bottom != null) string += "bottom="+bottom+" "; + string = string.trim(); + string += "}"; return string; } |