Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Combo Drop Down Transparency(Combo-Box Drop Down Transparency)
Combo Drop Down Transparency [message #863892] Sun, 29 April 2012 18:20 Go to next message
Sudesh Bulathsinhala is currently offline Sudesh BulathsinhalaFriend
Messages: 193
Registered: October 2010
Senior Member
Hello,

We're using a customized business Theme on RAP 1.5
We are experiencing a strange transparency issue when drop down is drawn above some other widgets, where the drop down items can see the underlying widgets icon, label, text, etc and they both are overlapping (drop down item and underlying widget).

We're using the following style sheet content for combo :
Combo {
	border: 1px solid #cccccc;
	border-radius: 0px;
	background-color: white;
}

Combo:disabled {
	color: #808080;
	background-color: white;
	border: none;
}

Combo-Button,DateTime-DropDownButton {
	background-image: none;
	background-color: white;
	border: none;
}

Combo-Button:disabled {
	background-image: url("/themes/icons/notify_empty.gif");
	background-color: white;
	border: none;
}


Regards,
Sudesh Bulathsinhala
Re: Combo Drop Down Transparency [message #865410 is a reply to message #863892] Mon, 30 April 2012 11:39 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Sudesh,
I can't reproduce it with your CSS snippet and Controls Demo (business
theme). The combo list transparency could be affected by the List CSS
definitions too. Could you have a look on them too?
Best,
Ivan

On 4/29/2012 9:20 PM, Sudesh Bulathsinhala wrote:
> Hello,
>
> We're using a customized business Theme on RAP 1.5
> We are experiencing a strange transparency issue when drop down is
> drawn above some other widgets, where the drop down items can see the
> underlying widgets icon, label, text, etc and they both are
> overlapping (drop down item and underlying widget).
>
> We're using the following style sheet content for combo :
>
> Combo {
> border: 1px solid #cccccc;
> border-radius: 0px;
> background-color: white;
> }
>
> Combo:disabled {
> color: #808080;
> background-color: white;
> border: none;
> }
>
> Combo-Button,DateTime-DropDownButton {
> background-image: none;
> background-color: white;
> border: none;
> }
>
> Combo-Button:disabled {
> background-image: url("/themes/icons/notify_empty.gif");
> background-color: white;
> border: none;
> }
>
>
> Regards,
> Sudesh Bulathsinhala

--
Ivan Furnadjiev

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

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: CCombo Drop Down Transparency [message #865822 is a reply to message #865410] Mon, 30 April 2012 15:39 Go to previous message
Sudesh Bulathsinhala is currently offline Sudesh BulathsinhalaFriend
Messages: 193
Registered: October 2010
Senior Member
Hello Ivan,

Actually Combo is working as expected, you're correct.
We have this issue with CCombo.

Ours is a custom theme using extension point org.eclipse.rap.ui.themes,
hence, the CCombo looks like this in our CSS file :

CCombo {
	border: 1px solid #cccccc;
	border-radius: 0px;
	background-color: white;
}

CCombo:disabled {
	color: #808080;
	background-color: transparent;
	border: none;
}

CCombo-Button {
	background-image: url("/themes/icons/notify_empty.gif");
	background-color: white;
	border: none;
}

CCombo-Button:disabled {
	background-image: url("/themes/icons/notify_empty.gif");
	background-color: transparent;
	border: none;
}


Regards,
Sudesh Bulathsinhala
Previous Topic:receiving information/reading a file
Next Topic:Theme not displayed in tomcat
Goto Forum:
  


Current Time: Fri Mar 29 06:15:30 GMT 2024

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

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

Back to the top