Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [e4-dev] Custom widget is not styled

> 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 <mistria@xxxxxxxxxx> wrote:
> On Fri, Sep 28, 2018 at 10:02 AM Ed Merks <ed.merks@xxxxxxxxx> 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
> e4-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit

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: lars.vogel@xxxxxxxxxxx, Web:

Back to the top