Community
Participate
Working Groups
We should adjust the color of the selected button for the active perspective. Looks weird. Also I noted that the Product editor looks strange if the view is not selected.
Andrea, can you provide a patch for the dark theme for the button selection color?
The button for active Perspective (the one natively on the top-right of the IDE) is not painted like a normal one and is forced by OS color. However, can you attach screenshots of the issues? (behaviors are usually different on different OS/OS-themes..)
Created attachment 240806 [details] Screenshot
ok, thanks Lars, currently this cannot be addressed in CSS, it needs a patch to the engine for ToolItem, background-color/image for a selected ToolItem is inherited from the operative system theme. (Probably this issue is a duplicate of Bug 427252)
(In reply to Andrea Guarinoni from comment #4) > ok, thanks Lars, currently this cannot be addressed in CSS, it needs a patch > to the engine for ToolItem, background-color/image for a selected ToolItem > is inherited from the operative system theme. Daniel, can you suggest what we need to fix to make this stylable?
Created attachment 240816 [details] Initial changes for the CSS support of the ToolItem (In reply to Lars Vogel from comment #5) > (In reply to Andrea Guarinoni from comment #4) > > ok, thanks Lars, currently this cannot be addressed in CSS, it needs a patch > > to the engine for ToolItem, background-color/image for a selected ToolItem > > is inherited from the operative system theme. > > Daniel, can you suggest what we need to fix to make this stylable? You have to start with the changes that I attach with patch. Next there will be the 'on paint' event play with background of the ToolItem since as far I've seen it doesn't support your use case Daniel
*** Bug 430994 has been marked as a duplicate of this bug. ***
I have created Bug 463358. SWT does not support setting background colors or any other visual properties of the ToolItem besides the actual images. Without API for that, we cannot style the ToolItem so that it has a different look when it is selected. Since that would mean a change to the SWT API and an implementation for all SWT platforms, I doubt that we can do anything in that direction for Mars :-(
*** Bug 462059 has been marked as a duplicate of this bug. ***
Works fine for me in Ubuntu 18.10