[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Question about SToolBarManager

Hello!



My purpose is to build Toolbar when each ToolbarItem contains text under an
image.

To achieve this goal, I have built MyStyledPresentationFactory class based
on StyledPresentationFactory class.

In MyStyledPresentationFactory class I have overriden createToolBarManager()
and createViewToolBarManager() methods,

in which I have created instance of  SToolBarManager class with
SWT.HORIZONTAL | SWT.FLAT style.

I have expected that this style combination would give me ToolbarItems with
text under image, but instead of this I have got image on the side of text
even though I have not specified SWT.RIGHT style.

What have I done wrong and how can I achieve my purpose?



Kind regards.

Alex.