Community
Participate
Working Groups
If you create a vertical ToolBar with SWT.VERTICAL all ToolItems are centered per default. It would be nice to have an opportunity to theme this behavior.
A ToolItem does not hold any reference to it's menu. So it's not possible to theme a ToolItem and at the same time it's menu. So, I will close the bug with WONTFIX now.
Sorry but I closed the wrong bug. My fault... please ignore the last comment.
Created attachment 155962 [details] fix No theming, but vertical toolBars are automatically aligned left, while horizontal toolBars are still aligned center.
Applied patch to CVS HEAD
Created attachment 155992 [details] Fix don't work It seems that the fix don't work. Take a look at the attached screen at the open bubble in the header. There is a vertical toolbar. It seems that 2 items are centered. I used the latest and greatest source from HEAD.
See my comment on the attached screenshot.
Created attachment 156004 [details] additional fix Due to the somewhat... "unorthodox" implementation of toolItems with dropdown-arrows, the layouting of ToolItem had to be adjusted further for left-alignment.
The new patch works. I have proved it and applied it to CVS HEAD.