diff options
author | Sravan Kumar Lakkimsetti | 2021-05-07 08:08:32 +0000 |
---|---|---|
committer | Sravan Kumar Lakkimsetti | 2021-05-07 08:17:19 +0000 |
commit | 661387b5e458947746c4a4efab049276a38ff6db (patch) | |
tree | 825a64f81d759b0c35db94df7c6d7d4e55342478 | |
parent | 3a54c9b76388eaed4db8a54691baa8d71ab2d1cd (diff) | |
download | eclipse.platform.swt-661387b5e458947746c4a4efab049276a38ff6db.tar.gz eclipse.platform.swt-661387b5e458947746c4a4efab049276a38ff6db.tar.xz eclipse.platform.swt-661387b5e458947746c4a4efab049276a38ff6db.zip |
Bug 568383 - [Big Sur] Tree text is shortened with Ellipsis
Change-Id: I78f7138aaa31398d5fa5019a8398c576babd30c2
Signed-off-by: Sravan Kumar Lakkimsetti <sravankumarl@in.ibm.com>
Reviewed-on: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/180344
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java | 4 | ||||
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java index 315cb7e625..3c83e3a191 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2017 IBM Corporation and others. + * Copyright (c) 2000, 2021 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -597,7 +597,7 @@ void createHandle () { firstColumn.headerCell ().setTitle (str); widget.addTableColumn (firstColumn); dataCell = (NSTextFieldCell)new SWTImageTextCell ().alloc ().init (); - dataCell.setLineBreakMode(OS.NSLineBreakByTruncatingTail); + dataCell.setLineBreakMode(OS.NSLineBreakByClipping); firstColumn.setDataCell (dataCell); widget.setHighlightedTableColumn(null); scrollView = scrollWidget; diff --git a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java index 614347e1f2..73cf4a20fe 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2000, 2017 IBM Corporation and others. + * Copyright (c) 2000, 2021 IBM Corporation and others. * * This program and the accompanying materials * are made available under the terms of the Eclipse Public License 2.0 @@ -639,7 +639,7 @@ void createHandle () { widget.addTableColumn (firstColumn); widget.setOutlineTableColumn (firstColumn); dataCell = (NSTextFieldCell)new SWTImageTextCell ().alloc ().init (); - dataCell.setLineBreakMode(OS.NSLineBreakByTruncatingTail); + dataCell.setLineBreakMode(OS.NSLineBreakByClipping); firstColumn.setDataCell (dataCell); scrollView = scrollWidget; |