Closed Phillipus closed 6 months ago
As an experiment, if I remove this line it works OK:
The condition is not met because parent.getClientArea().height
is returning 0.
Hello Phil
If you change the line 425 by this one is it better ?
if (IS_MAC && availableVisibleWidthForColumns == 1 && (parent.getClientArea().height == 1 || parent.getClientArea().height == 0))
(I think that the behaviour depends on the version of MacOs)
If you change the line 425 by this one is it better ?
Yes, because parent.getClientArea().height
is returning 0.
(I think that the behaviour depends on the version of MacOs)
I think you may be right because this used to work, I think.
Bug fixed in Nebula 3.2.0
This is a problem again on Mac. See https://github.com/eclipse/nebula/pull/190
macOS 14.4 Sonoma Eclipse SWT 3.125.0.v20240227-1638
On Mac run GridViewerSnippet1
It looks like this:
Now move this line to line 189 so it is called after creating the
GridColumns
:https://github.com/eclipse/nebula/blob/7679ef64ea4378bdc66abf61f23705ddc083ee62/examples/org.eclipse.nebula.snippets/src/org/eclipse/nebula/snippets/grid/viewer/GridViewerSnippet1.java#L139
And it is OK: