Problem
When CTabFolder.setTopRight(control, SWT.RIGHT | SWT.WRAP) is used, the topRight control wraps to a second row below the tabs on Linux/GTK
even when there appears to be sufficient horizontal space. The same configuration renders correctly inline on Windows/macOS.
This causes Eclipse view toolbars (e.g., EGit Staging View) to render below the tab instead of beside the tab title. The issue specifically
affects views whose toolbar contains a ControlContribution with a Text widget (search field).
Removing SWT.WRAP from the caller (SWT.RIGHT only) makes it render inline correctly — but then wrapping never happens when space is genuinely
tight.