[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [platform-ui-dev] Question regarding theming
|
Hi Matthias,
IIRC, Leo (cc'ed) work on defining new constants for that purpose. See
for example Bug 508819.
Leo, can you advise?
Best regards, Lars
On Wed, Jun 21, 2017 at 5:24 PM, Becker, Matthias <ma.becker@xxxxxxx> wrote:
> Dear all,
>
>
>
> if I see it correct colors you obtain via
> Display.getCurrent().getSystemColor( ) (e.g. SWT.COLOR_WIDGET_BACKGROUND)
> are not adapted via the CSS theming.
>
>
>
> So all usages of Display.getCurrent().getSystemColor( ) are potential causes
> for theming errors. Is there a clear guidance on the usage of
> Display.getCurrent().getSystemColor( ) and possible alternatives?
>
>
>
> Is there an API to obtain e.g. the background color an SWT text widget would
> get based on the current theme? I know I can call Control.getBackground() to
> get the current background color of a given
>
> control but what to do if don’t have an instance of SWT.Text at hand?
>
>
>
> Regards,
>
> Matthias
>
>
> _______________________________________________
> platform-ui-dev mailing list
> platform-ui-dev@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from
> this list, visit
> https://dev.eclipse.org/mailman/listinfo/platform-ui-dev
--
Eclipse Platform UI and e4 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: http://www.vogella.com