Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Painting background color for Combo box (How to paint the background color for the combo box arrow?)
Painting background color for Combo box [message #917105] Wed, 19 September 2012 16:29 Go to previous message
Ronald So is currently offline Ronald So
Messages: 198
Registered: April 2011
Senior Member
Hi,

I have the following CSS code:

Combo,
Combo[BORDER] {
    color: #4a4a4a;
    background-color: #ecf1f7;
    border: 1px solid #aaaaaa;
    border-radius: 0px;
    padding: 2px 5px;
    background-image: none;
    text-shadow: none;
    box-shadow: none;
}

Combo.searchBox {
    background-image: gradient(linear, left top, right top,
              from( rgb(230, 230, 230) ),
              to( rgb(180, 180, 180) )
          );
    border: 1px rgb(200, 200, 200);
}

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


which I have registered the "searchBox" style with my combo widget.

This is what I get: index.php/fa/11575/0/

As you can see, the gradient works beautifully, but the arrow area is still white in color. I can't seem to be able to style that part of the widget. What did I do wrong?

Thanks,
Ronald

  • Attachment: combobox.png
    (Size: 0.65KB, Downloaded 169 times)
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:use Nebula Grid, table.setData (RWT.FIXED_COLUMNS, 2), does not work
Next Topic:Application freezes occasionally
Goto Forum:
  


Current Time: Fri May 24 04:23:44 EDT 2013

Powered by FUDForum. Page generated in 0.02312 seconds