Project: SWT
Bug 71019 Setting a ToolItem's control to a Button doesn't work in Linux GTK
Reported: 2004-07-28 15:45:15 | Status: resolved fixed

In a ToolBar, setting a ToolItem's control to a Button doesn't work in Linux GTK. I was under the impression that it should work, since it worked in Windows and adding other SWT controls such as Text worked. A workaround was to add the button to a Composite first.

Files changed in fix:
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java