|Re: [e4-dev] Custom widget is not styled|
Well Mickael,_______________________________________________It works ok for Composites, but not for Canvas. The foreground is not inherited. We need a "setForegroundMode(SWT.INHERITS_FORCE)" so I guess this solution is not going to work in all the cases. The good luck is that I can get foreground from the parent, and it is not going to change because the view is activated or not. As a workaround is find, but maybe there is a more safe solution.On Fri, Sep 28, 2018 at 9:03 AM Arián Fornaris Fernández <boniatillo@xxxxxxxxx> wrote:I the parent is a composite, did you try parent.setBackgroundMode(SWT.INHERITS_FORCE) ?Oh, that makes the trick! Thanks!
e4-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
Back to the top