Skip to main content



      Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Text and CUSTOM_VARIANT does not set background
Text and CUSTOM_VARIANT does not set background [message #124501] Fri, 13 March 2009 10:54 Go to next message
Eclipse UserFriend
Hi,
adding the following to css does not set background, just the border style:

Text.notRelevant {

color: rgb( 39, 64, 139 );

background-color: #fff1a1;

border: none;

}



Regards,

Markus
Re: Text and CUSTOM_VARIANT does not set background [message #124621 is a reply to message #124501] Sat, 14 March 2009 13:04 Go to previous messageGo to next message
Eclipse UserFriend
Hi Markus,

Your snippet works as expected. Sure the background is not overridden by
some other rule in your stylesheet that has a higher specificity? Try a
minimal stylesheet that only contains this one rule.

Reagrds,
Ralf

Markus Krüger wrote:
> Hi,
> adding the following to css does not set background, just the border style:
>
> Text.notRelevant {
>
> color: rgb( 39, 64, 139 );
>
> background-color: #fff1a1;
>
> border: none;
>
> }
>
>
>
> Regards,
>
> Markus
>
>
Re: Text and CUSTOM_VARIANT does not set background [message #124666 is a reply to message #124621] Mon, 16 March 2009 06:39 Go to previous message
Eclipse UserFriend
Hi Ralf,

ok, it seems to work now. Creating the Text widget with the formtoolkit
causes the problem since it sets a backgound color.
Calling text.setBackground(null) solved it.

Regards,
Markus

"Ralf Sternberg" <rsternberg@eclipsesource.com> schrieb im Newsbeitrag
news:gpgo3m$fv0$1@build.eclipse.org...
> Hi Markus,
>
> Your snippet works as expected. Sure the background is not overridden by
> some other rule in your stylesheet that has a higher specificity? Try a
> minimal stylesheet that only contains this one rule.
>
> Reagrds,
> Ralf
>
> Markus Kr
Previous Topic:Retrieving RAP internal icons
Next Topic:Overlaying Images in RAP
Goto Forum:
  


Current Time: Sun Jul 13 15:05:41 EDT 2025

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

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

Back to the top