Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » change the background to transparent for custom widget parent?
change the background to transparent for custom widget parent? [message #1780480] Tue, 23 January 2018 02:25 Go to next message
Eclipse UserFriend
hi all,
I created a custom widget pop menu, and it can be used in table or tree, but when the widgets are appended to the table, RAP generates the code just like below, and the parent div background to white, my question is how to change the parent's background to transparent?
Thanks.
index.php/fa/31894/0/
index.php/fa/31895/0/
Re: change the background to transparent for custom widget parent? [message #1780502 is a reply to message #1780480] Tue, 23 January 2018 08:44 Go to previous messageGo to next message
Eclipse UserFriend
Hi,
usually the custom widget extends Composite and this is the default Composite background defined in the RAP theming. You can set a custom variant to your custom widget and set the background color to transparent.
HTH,
Ivan
Re: change the background to transparent for custom widget parent? [message #1780782 is a reply to message #1780502] Fri, 26 January 2018 23:21 Go to previous message
Eclipse UserFriend
Thanks Furnadjiev, RAP add a parent div automatically when add custom widgets, and I have no way to control the properties of the parent div element , so I have to set the global css to all composites.

Composite {
  background-color: transparent;
}


Your regards
Previous Topic:WAR deployment error
Next Topic:javascript: cannot access parent window
Goto Forum:
  


Current Time: Tue Jul 15 14:37:17 EDT 2025

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

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

Back to the top