Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Combo/List box with images?
Combo/List box with images? [message #446239] Mon, 22 November 2004 11:00 Go to next message
Rene is currently offline ReneFriend
Messages: 80
Registered: July 2009
Member
Hello,
does the SWT Listbox or Combobox support elements with an image as label? Or
do I have to use an other control? The user should be able to select an
image from a list of images, for various items -> every item need to have
one ListBox for selection. So it is a 1:1 assignment

Thanks!
Re: Combo/List box with images? [message #446240 is a reply to message #446239] Mon, 22 November 2004 13:16 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
- To show a list-like widget with images you can use a Table with no header
or grid lines.
- There is not an easy equivalent like this for the combo case. The only
way to do this right now is to fake the Combo widget, like CCombo already
does. (As a side note, there is a CCombo feature request for this, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=4510 .

Grant

"Teichgraf" <teichgraf@gmx.de> wrote in message
news:cnsgsg$h43$1@www.eclipse.org...
> Hello,
> does the SWT Listbox or Combobox support elements with an image as label?
Or
> do I have to use an other control? The user should be able to select an
> image from a list of images, for various items -> every item need to have
> one ListBox for selection. So it is a 1:1 assignment
>
> Thanks!
>
>
Re: Combo/List box with images? [message #446242 is a reply to message #446240] Mon, 22 November 2004 14:33 Go to previous message
Rene is currently offline ReneFriend
Messages: 80
Registered: July 2009
Member
Thanks for your fast information.
I voted for this feature request. ;-)

"Grant Gayed" <grant_gayed@ca.ibm.com> schrieb im Newsbeitrag
news:cnsorf$2ku$1@www.eclipse.org...
>- To show a list-like widget with images you can use a Table with no header
> or grid lines.
> - There is not an easy equivalent like this for the combo case. The only
> way to do this right now is to fake the Combo widget, like CCombo already
> does. (As a side note, there is a CCombo feature request for this, see
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=4510 .
>
> Grant
>
> "Teichgraf" <teichgraf@gmx.de> wrote in message
> news:cnsgsg$h43$1@www.eclipse.org...
>> Hello,
>> does the SWT Listbox or Combobox support elements with an image as label?
> Or
>> do I have to use an other control? The user should be able to select an
>> image from a list of images, for various items -> every item need to have
>> one ListBox for selection. So it is a 1:1 assignment
>>
>> Thanks!
>>
>>
>
>
Previous Topic:Conversion from Swing to SWT
Next Topic:Question about the JFace way of doing things
Goto Forum:
  


Current Time: Thu Apr 25 01:28:32 GMT 2024

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

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

Back to the top