diff options
author | Grant Gayed <ggayed> | 2007-05-22 19:18:59 +0000 |
---|---|---|
committer | Grant Gayed <ggayed> | 2007-05-22 19:18:59 +0000 |
commit | 75161cfc75751d6c40fcd6987003dc332379eba1 (patch) | |
tree | 2e0700a620cc106a507c98db61c081201274c363 | |
parent | cca4053c5f6c19990f4867a81d40131a0100cb49 (diff) | |
download | eclipse.platform.swt-75161cfc75751d6c40fcd6987003dc332379eba1.tar.gz eclipse.platform.swt-75161cfc75751d6c40fcd6987003dc332379eba1.tar.xz eclipse.platform.swt-75161cfc75751d6c40fcd6987003dc332379eba1.zip |
*** empty log message ***
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java index 1aa5265580..a92c8856b1 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java @@ -555,7 +555,7 @@ void _setAlignment (int alignment) { if ((alignment & (SWT.LEFT | SWT.RIGHT | SWT.CENTER)) == 0) return; style &= ~(SWT.LEFT | SWT.RIGHT | SWT.CENTER); style |= alignment & (SWT.LEFT | SWT.RIGHT | SWT.CENTER); - /* Aligmennt not honoured when image and text are visbible */ + /* Alignment not honoured when image and text are visible */ boolean bothVisible = OS.GTK_WIDGET_VISIBLE (labelHandle) && OS.GTK_WIDGET_VISIBLE (imageHandle); if (bothVisible) { if ((style & (SWT.RADIO | SWT.CHECK)) != 0) alignment = SWT.LEFT; |