Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 390215

Summary: Custom style for Combo-Button not working
Product: [RT] RAP Reporter: Ronald So <ronald.so>
Component: RWTAssignee: Project Inbox <rap-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: gmalary, tbuschto
Version: 1.5   
Target Milestone: 2.0 M2   
Hardware: All   
OS: All   
Whiteboard:

Description Ronald So CLA 2012-09-24 11:01:01 EDT
I am using RAP 1.5 RC3.  I have a CSS file that is registered with the branding bundle, but I can't seem to be able to create a custom style for Combo-button.

This works:

Combo-Button {
  border-left: 0px;
  background-color: rgb(220, 220, 220);
}

But this does not work:

Combo-Button.searchBox {
  border-left: 0px;
  background-color: rgb(220, 220, 220);
}

I have used WidgetUtil.CUSTOM_VARIANT and map "searchBox" to the Combo box that I want to style.  I cannot get this to work.  But if I put the change to Combo-Button (without the dot special style), I see the changes without a problem.

More information / discussion can be found at:

http://www.eclipse.org/forums/index.php/t/378982/

Thanks,
Ronald
Comment 1 Tim Buschtoens CLA 2012-09-28 09:43:13 EDT
Fixed custom variant for combo-button in commit e6507c02b5e578130c242dc14c005f85bb94c949.

Please confirm that it's working for you.
Comment 2 Tim Buschtoens CLA 2012-09-28 09:53:28 EDT
Forgot to also remove the state again. Fixed with commit 84fd10ccea2ad52874dce02e5fbf57341be42f8a.