[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: Toolbar Problem

Thank you for your answer.
But the problem is that all the images have as a size 16x16.
In fact, if I create an ImageDescriptror starting from a Properties file,
the images are tiny, whereas if I create the ImageDescriptror with a URL
(createFromURL(URL url)) then their size is correct.

I don't understand from which the problem comes.

Asra.




"Ralf Koban" <ralf.koban@xxxxxx> a écrit dans le message news:
bf0m3g$9g6$1@xxxxxxxxxxxxxx
> Hi Asra,
>
> as I remember right the size of every single toolitem of a toolbar
> depends on the first toolitem added to that toolbar.
>
> Ralf
>
> asra schrieb:
>
> > I have a ToolBarManager which manages IAction.  Each IAction is
associated
> > an image with this method "setImageDescriptor" .  The localization of
the
> > images is contained in a properties file.  The problem is that the
toolbar
> > that I have, with the good images, but their size is tiny.  However, all
> > images have as a size 16x16.
> >
> > There is somebody who can explain me the problem, or what I didn't
> > understand.
> >
> > Thank you in advance.
> >
> >  Asra.
> >
> >
> >
> >
> >
> >
>