> But there could be better ways of doing this.

One way would be to define such colors via preferences as the CSS can
style these preferences.
On Fri, Sep 28, 2018 at 10:48 AM Mickael Istria <[email protected]> wrote:
>
>
>
> On Fri, Sep 28, 2018 at 10:02 AM Ed Merks <[email protected]> wrote:
>>
>> I might be off base on this observation, but if I recall correctly (from 
>> getting Oomph things to behave correctly with dark theme), if one subclasses 
>> Composite, your subclass is no longer styled as a composite.
>
>
> Sure.
> But I think there is a misunderstanding (my fault). By "parent" in my answer, 
> I meant the container control.
> So, if drawing manually on a custom widget, instead of consuming 
> widget.getBackground(), one can decide to consume 
> widget.getParent().getBackground() and hope this one is properly configured.
> But there could be better ways of doing this.
> _______________________________________________
> e4-dev mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/e4-dev



-- 
Eclipse Platform project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: [email protected], Web: http://www.vogella.com
_______________________________________________
e4-dev mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/e4-dev

Reply via email to