Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLakshmi Shanmugam2021-02-11 23:31:35 +0000
committerLakshmi Shanmugam2021-02-11 23:31:35 +0000
commit34df3c4634612f192fd6fcd00d2d68d40906bac4 (patch)
tree978a71dbd6c1199b8f16b717a18ce6bfa88ee99f
parent0008f95d27f0bd1bda05af9dda5bf42273e22518 (diff)
downloadeclipse.platform.swt-34df3c4634612f192fd6fcd00d2d68d40906bac4.tar.gz
eclipse.platform.swt-34df3c4634612f192fd6fcd00d2d68d40906bac4.tar.xz
eclipse.platform.swt-34df3c4634612f192fd6fcd00d2d68d40906bac4.zip
Bug 567787 - [Big Sur] Setting Shell visible doesn't send SWT.SetData
for Virtual Tree/Table (Debug hover and inspect dialog are empty) On macOS 11, set FIRST_COLUMN_MINIMUM_WIDTH to 19, a value less than that doesn't work. Change-Id: Ia40f0791b1e8fa90b4bc951f40bf392c51b63002
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java8
1 files changed, 6 insertions, 2 deletions
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 8f0b7d30bb..614347e1f2 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
@@ -99,8 +99,12 @@ public class Tree extends Composite {
static int NEXT_ID;
- /* Value has been determined experimentally, see bug 516472. On macOS 10.12, right end of expando triangle is at x=16. */
- static final int FIRST_COLUMN_MINIMUM_WIDTH = 17;
+ /*
+ * Value has been determined experimentally, see bug 516472.
+ * On macOS 10.12, right end of expando triangle is at x=16.
+ * On macOS 11, value less than 19 doesn't work.
+ */
+ static final int FIRST_COLUMN_MINIMUM_WIDTH = 19;
static final int IMAGE_GAP = 3;
static final int TEXT_GAP = 2;
static final int CELL_GAP = 1;

Back to the top