Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » List/Combo item background
List/Combo item background [message #714307] Wed, 10 August 2011 09:38 Go to next message
Tobias Semmet is currently offline Tobias SemmetFriend
Messages: 37
Registered: July 2009
Member
Hi,

is it possible to set the backgroundcolor of each item, and when yes, how ?

Thanks
Re: List/Combo item background [message #714676 is a reply to message #714307] Thu, 11 August 2011 07:48 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Tobias,
as there is no corresponding list item widget in SWT/RAP (you set items
as array of strings) it's not possible to style the background color for
every item. Currently only even/odd items can be styled:
List-Item:even {
background-color: #f3f3f4;
}
HTH,
Ivan

On 8/10/2011 12:38 PM, Tobias Semmet wrote:
> Hi,
>
> is it possible to set the backgroundcolor of each item, and when yes,
> how ?
>
> Thanks
Re: List/Combo item background [message #714677 is a reply to message #714676] Thu, 11 August 2011 08:25 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

There's a control named TableCombo in Nebula which uses a Table to show
the drop down (similar to CCombo which uses a List). Because this widget
is not custom draw you could maybe port/get it to run on RAP.

Tom

Am 11.08.11 09:48, schrieb Ivan Furnadjiev:
> Hi Tobias,
> as there is no corresponding list item widget in SWT/RAP (you set items
> as array of strings) it's not possible to style the background color for
> every item. Currently only even/odd items can be styled:
> List-Item:even {
> background-color: #f3f3f4;
> }
> HTH,
> Ivan
>
> On 8/10/2011 12:38 PM, Tobias Semmet wrote:
>> Hi,
>>
>> is it possible to set the backgroundcolor of each item, and when yes,
>> how ?
>>
>> Thanks
Previous Topic:Current Web Demo Source Code
Next Topic:Load balancing with cookies disabled
Goto Forum:
  


Current Time: Thu Apr 25 15:34:02 GMT 2024

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

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

Back to the top