diff options
author | Felipe Heidrich | 2008-02-15 20:40:47 +0000 |
---|---|---|
committer | Felipe Heidrich | 2008-02-15 20:40:47 +0000 |
commit | fd02070b9b7759d2b134183d12989f0dc9320b5c (patch) | |
tree | ccdd05d034821b0f7fd316cec78ce778a62bc222 | |
parent | 35f949aca5dc89176a2a949dc0e0496b2dc91ca7 (diff) | |
download | eclipse.platform.swt-fd02070b9b7759d2b134183d12989f0dc9320b5c.tar.gz eclipse.platform.swt-fd02070b9b7759d2b134183d12989f0dc9320b5c.tar.xz eclipse.platform.swt-fd02070b9b7759d2b134183d12989f0dc9320b5c.zip |
*** empty log message ***
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Label.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Label.java b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Label.java index 489acc4c81..f2709294ff 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Label.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Label.java @@ -115,6 +115,9 @@ void createHandle () { } else { handle = OS.gcnew_Label (); if (handle == 0) error (SWT.ERROR_NO_HANDLES); + int thickness = OS.gcnew_Thickness(0, 0, 0, 0); + OS.Control_Padding(handle, thickness); + OS.GCHandle_Free(thickness); int value = OS.HorizontalAlignment_Left; if ((style & SWT.CENTER) != 0) value = OS.HorizontalAlignment_Center; if ((style & SWT.RIGHT) != 0) value = OS.HorizontalAlignment_Right; |