Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 10: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 12:18 Go to previous messageGo to next message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
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 16: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 17:28 Go to previous messageGo to next message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
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 19:47 Go to previous message
Steve Northover is currently offline Steve NorthoverFriend
Messages: 1636
Registered: July 2009
Senior Member
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 Apr 23 13:52:04 GMT 2024

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

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

Back to the top