Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » How to create combo with images
How to create combo with images [message #783354] Wed, 25 January 2012 15:15 Go to next message
Aleksandar Pavlov is currently offline Aleksandar PavlovFriend
Messages: 79
Registered: July 2009
Member
Hi all,

I wish you all the best in the new year.
My question is: how is the following screenshot [1] from RAP 1.4 M7
programmed?
I googled and searched in the RAP demos, but in vain.

I wish to add images for some combo-box items in our project, how did
you achieve that.

Best regards and thank you in advance,
Aleks

[1]: http://www.eclipse.org/rap/noteworthy/1.4/images/Shadows.png
Re: How to create combo with images [message #783401 is a reply to message #783354] Wed, 25 January 2012 16:36 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Aleksandar,
I think that this is a toolbar with a single drop-down toolitem in it.
Images are set on the popup menu items.
HTH,
Ivan

On 1/25/2012 5:15 PM, Aleksandar Pavlov wrote:
> Hi all,
>
> I wish you all the best in the new year.
> My question is: how is the following screenshot [1] from RAP 1.4 M7
> programmed?
> I googled and searched in the RAP demos, but in vain.
>
> I wish to add images for some combo-box items in our project, how did
> you achieve that.
>
> Best regards and thank you in advance,
> Aleks
>
> [1]: http://www.eclipse.org/rap/noteworthy/1.4/images/Shadows.png

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: How to create combo with images [message #784333 is a reply to message #783401] Fri, 27 January 2012 11:16 Go to previous message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi,

Unfortunately, it's not possible to set images on a combo box, neither
in SWT nor in RAP. You have to use a toolbar, as Ivan suggested, or
write a custom widget for it.


Regards, Ralf


--
Ralf Sternberg

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:Problems with Branding/Theming in Internet Explorer
Next Topic:WidgetUtil.CUSTOM_VARIANT
Goto Forum:
  


Current Time: Thu Apr 18 10:03:32 GMT 2024

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

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

Back to the top