I need to add in the ChartWindow menu a button with the same style as the standard buttons (and especially the DropShadow effect).
If the button contains a text, then the style is "inherited" without me doing anything, and the button has the shadow effect when the pointer passes over the button.
However, if the button contains a geometry path, to display an icon, then the button does not appear.
The only solution I found was overriding the style, but then the standard dropshadow effect is lost.
Please, could you provide a simple example to work the dropshadow effect on a button with a geometry path?
Thanks in advance

Comment