SWT uses two classes to implement coolbars: CoolBar and CoolItem. You must size the CoolItem yourself, or it won't be sized properly.