Closed lo2net closed 2 months ago
It is not clear from your description which buttons you want to change and which you don't. At least the workspace button behavior cannot be changed in this way.
This will effect all YButton usage on taskbar, like fApplications, fWinList, fShowDesktop etc. see this comparison: before: after:
I'm using theme: Theme="Araita-Dark+/Srmx.theme" which is lookFlat: Look=flat But, IMHO, whichever theme used, there should have some visual effect indicating that user had clicked any buttons.
Look flat
is flat. There are several button types which do have clear visual behavioral effects when pressed. This is a quick hack with insufficient investigational analysis.
I'm not sure flat means can't have any visual effects, also I'm not sure that I've click these buttons...... At least, this is not friendly to user interface, we need improving that if not in this PR.
@gijsbers
When user click on ybutton, with different look settings(lookMetal/lookGtk/lookFlat etc.), user may or may not seen virtual effect indicating that click action, it's not intuitive, so I add this simple snippet code for that.