Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » swt button with image and text
swt button with image and text [message #463053] Wed, 26 October 2005 06:01 Go to next message
Eclipse UserFriend
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 #463099 is a reply to message #463053] Wed, 26 October 2005 08:18 Go to previous messageGo to next message
Eclipse UserFriend
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
>
Re: swt button with image and text [message #463107 is a reply to message #463099] Wed, 26 October 2005 12:51 Go to previous messageGo to next message
Eclipse UserFriend
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
Re: swt button with image and text [message #463110 is a reply to message #463107] Wed, 26 October 2005 13:28 Go to previous messageGo to next message
Eclipse UserFriend
There has been a bug open at eclipse.org on this topic for quite some time. I'm hoping that this is fixed in the final release of 3.2.
Re: swt button with image and text [message #463400 is a reply to message #463110] Fri, 04 November 2005 14:47 Go to previous message
Eclipse UserFriend
It's fixed.

"Daniel Spiewak" <djspiewak@gmail.com> wrote in message
news:33175395.1130347718112.JavaMail.root@cp1.javalobby.org...
> There has been a bug open at eclipse.org on this topic for quite some
time. I'm hoping that this is fixed in the final release of 3.2.
Previous Topic:Root TreeITem without Expand-Button and Lines
Next Topic:How to enable views to handle timer events
Goto Forum:
  


Current Time: Tue Jul 22 18:07:14 EDT 2025

Powered by FUDForum. Page generated in 0.25802 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top