diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Device.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Device.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Device.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Device.java index 5518a229ec..aa34d74012 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Device.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Device.java @@ -542,7 +542,7 @@ protected void init () { COLOR_WHITE = new Color (this, 0xFF,0xFF,0xFF); paragraphStyle = (NSMutableParagraphStyle)new NSMutableParagraphStyle().alloc().init(); - paragraphStyle.setAlignment(OS.NSLeftTextAlignment); + paragraphStyle.setAlignment(OS.NSTextAlignmentLeft); paragraphStyle.setLineBreakMode(OS.NSLineBreakByClipping); NSArray tabs = new NSArray(new NSArray().alloc().init()); paragraphStyle.setTabStops(tabs); |