Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Viewpart Composite Transparent(How to make Viewpart background transparent)
Viewpart Composite Transparent [message #892547] Thu, 28 June 2012 15:11 Go to next message
David Casas is currently offline David CasasFriend
Messages: 58
Registered: November 2011
Location: Barcelona
Member

Hi all,

I am using theming to make my RAP app look more "cool". I am using a gradient background color on the shell widget, but I am not able to make the viewpart composites transparent, there is always a white background...

I would like to know if it is posible to make the viewpart transparent in order to use these gradient color.

Thanks in advance
Re: Viewpart Composite Transparent [message #893235 is a reply to message #892547] Tue, 03 July 2012 10:01 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi David,
did you try to set the background mode (Composite#setBackgroundMode) to
INHERIT_FORCE?
Best,
Ivan

On 6/28/2012 6:11 PM, David Casas wrote:
> Hi all,
>
> I am using theming to make my RAP app look more "cool". I am using a
> gradient background color on the shell widget, but I am not able to
> make the viewpart composites transparent, there is always a white
> background...
> I would like to know if it is posible to make the viewpart transparent
> in order to use these gradient color.
> Thanks in advance

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Viewpart Composite Transparent [message #893579 is a reply to message #893235] Wed, 04 July 2012 17:06 Go to previous messageGo to next message
David Casas is currently offline David CasasFriend
Messages: 58
Registered: November 2011
Location: Barcelona
Member

Hi Ivan,

I did use your tip, but it happens something strange, since I put INHERIT_FORCE in the page composite, all its child composites are getting the shell background and I don't know why... I tried to force a INHERIT_NONE in them without any results... do you know why it is happening??

Thanks a lot
Re: Viewpart Composite Transparent [message #893598 is a reply to message #893579] Wed, 04 July 2012 18:42 Go to previous message
David Casas is currently offline David CasasFriend
Messages: 58
Registered: November 2011
Location: Barcelona
Member

Finally i could do it, thanks a lot for your tip!

[Updated on: Wed, 04 July 2012 18:42]

Report message to a moderator

Previous Topic:RAP 1.5 Eclipse HelpSystem Problem
Next Topic:Browser Title won't change after switching locale
Goto Forum:
  


Current Time: Sun Oct 17 04:28:52 GMT 2021

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

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

Back to the top