Styling menus and buttons [message #1722591] |
Sat, 06 February 2016 04:35  |
Eclipse User |
|
|
|
Hi all,
since a while I am working on a product which contains a custom icon set
and supports two different themes: light and dark, inheriting from the
e4 css files. For the light theme dark icons are used, while the dark
theme has light icons. Note the product is still using compatibility
mode, no native e4 yet.
Now I am trying to cope with the SWT limitations of styling main menu,
context menus and buttons. Specifically I need to customise the font as
well as the foreground and background colours. From what I've tried
programmatically and read during web research there seems no way to get
this done in e3.
Can you please give me some advice about which options exist?
- Would switching to native e4 allow these styles? Is that possible if
diagrams made by Sirius/GMF/GEF are used?
- Any third party solution available which I could utilise?
- Any other ways to get around these limitations?
Thanks in advance,
Axel
[Updated on: Mon, 08 February 2016 08:43] by Moderator
|
|
|
Re: Styling menus and buttons [message #1722687 is a reply to message #1722591] |
Mon, 08 February 2016 04:36  |
Eclipse User |
|
|
|
You can not color Menus/Buttons/Table-Header/Scrollbars in SWT so it
really does not matter if you used e4/Eclipse 4 Compat/... .
For scrollbars there's a trick used eg by the cleansheet L&F but the
other limitations still stay.
As long as you target SWT you are out of luck.
Tom
On 06.02.16 10:35, Axel Guckelsberger wrote:
> Hi all,
>
> since a while I am working on a product which contains a custom icon set
> and supports two different themes: light and dark, inheriting from the
> e4 css files. For the light theme dark icons are used, while the dark
> theme has light icons. Note the product is still using compatibility
> mode, no native e4 yet.
>
> Now I've trying to cope with the SWT limitations of styling main menu,
> context menus and buttons. Specifically I need to customise the font as
> well as the foreground and background colours. From what I've tried
> programmatically and read during web research there seems no way to get
> this done in e3.
>
> Can you please give me some advice about which options exist?
>
> - Would switching to native e4 allow these styles? Is that possible if
> diagrams made by Sirius/GMF/GEF are used?
> - Any third party solution available which I could utilise?
> - Any other ways to get around these limitations?
>
> Thanks in advance,
> Axel
|
|
|
Powered by
FUDForum. Page generated in 0.03114 seconds