Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [nebula-dev] CSS styling of CDateTime?

Hi Matthias,

 

Why is the label not styleable?

 

Cheers,

 

Wim

 

 

From: nebula-dev-bounces@xxxxxxxxxxx [mailto:nebula-dev-bounces@xxxxxxxxxxx] On Behalf Of Matthias Paul Scholz
Sent: Friday, 21 December 2018 10:03
To: Nebula Dev
Subject: Re: [nebula-dev] CSS styling of CDateTime?

 

Hi Wim,

 

Thanks for the answer.

 

After using CSS spy and looking into the code, I was able to style at least the backgound of the parts of CDateTime where the labels appear by configuring 

 

VCanvas {

            background-color: <some color>;

}

 

That way, I could choose some light background color that makes the (presently unmodifiable) foreground color of the labels involved readable again; however, that is just an unsatisfying workaround for now.

 

However, I think for user acceptance it is mandatory to make CDateTime and all the other Nebula widgets satisfyingly themable in the long run.

 

Best,

  MP

 

 

 

 

 

Am Mi., 19. Dez. 2018 um 18:50 Uhr schrieb Wim Jongman <wim.jongman@xxxxxxxxxxxxxxxxxx>:

Hi Matthias,

 

CDateTime is not CSS aware. I know of one widget that is which is the pshelf widget. You might want to take a look at that.

 

Cheers,

 

Wim

 

From: nebula-dev-bounces@xxxxxxxxxxx [mailto:nebula-dev-bounces@xxxxxxxxxxx] On Behalf Of Matthias Paul Scholz
Sent: Wednesday, 19 December 2018 15:50
To: Nebula Dev
Subject: [nebula-dev] CSS styling of CDateTime?

 

Hi,

 

I am presently in the process of (Dark) theming our RCP application with CSS properties.

The application also uses the CDateTime widget from Nebula.

 

Works well for the other widgets in our application and for the background of the CDateTime widget; however,  the color of the  Labels in the different areas of the CDateTime widget stays gray and the background of the day picker stays white regardless  what properties I do set in the application's .css file.

 

Is CDateTime meant to be stylable by CSS properties?

Do I need to register a particular IElementProvider or property handler?

Does anyone have an example which properties need to be set?

 

Thanks and best,

  MP

_______________________________________________
nebula-dev mailing list
nebula-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/nebula-dev


Back to the top