swt button with image and text [message #463053] |
Wed, 26 October 2005 10:01 |
Eclipse User |
|
|
|
Originally posted by: reini.schneider.web.de
I want to have a button with an image and a text on it! But it doesn't
work. I call setText(..) and setImage(..). But I never get both. Is it a
bug? Is there a workaround for that?
resc
|
|
|
|
Re: swt button with image and text [message #463107 is a reply to message #463099] |
Wed, 26 October 2005 16:51 |
Eclipse User |
|
|
|
Originally posted by: friederich.kupzog.de
Hi, my workaround is ToolItem. It can display both.
Regards,
Friederich
Stefan Langer wrote:
> Button only supports one of the two. You might want to look how eclipse
> does it in the Perspectivebar.
>
> Regards
> Stefan
>
> Reinhold Schneider wrote:
>
>> I want to have a button with an image and a text on it! But it doesn't
>> work. I call setText(..) and setImage(..). But I never get both. Is
>> it a bug? Is there a workaround for that?
>>
>> resc
>>
--
Friederich Kupzog
Elektronik & Software
Neusser Str. 5-7
50670 Köln
Tel 0241 160696-1
Fax 0221 726670
www.kupzog.de/fkmk
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03680 seconds