Skip to content

Commit 62b1a13

Browse files
committed
fix for failed test Test_org_eclipse_swt_widgets_Tree.test_Virtual()
1 parent 2edcaa6 commit 62b1a13

File tree

1 file changed

+1
-1
lines changed
  • bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets

1 file changed

+1
-1
lines changed

bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -3900,7 +3900,7 @@ void setParentGdkResource (Control child) {
39003900
void setScrollWidth (long column, TreeItem item) {
39013901
if (columnCount != 0 || currentItem == item) return;
39023902
int width = GTK.gtk_tree_view_column_get_fixed_width (column);
3903-
int itemWidth = calculateWidth (column, item.handle, true);
3903+
int itemWidth = calculateWidth (column, item.handle, false);
39043904
if (width < itemWidth) {
39053905
GTK.gtk_tree_view_column_set_fixed_width (column, itemWidth);
39063906
}

0 commit comments

Comments
 (0)