Open DexterMagnific opened 5 years ago
Hi,
I simply was not intended to make colored shadows. Shadow is shadow -- it is gray/black/dark.
Of course except when you have a good reason to do so. Could you please explain your use case?
Regards,
Dmitry
Use case: we have an app in which we offer the ability to the user to set custom node background color (single background, all GradientX are the same). When changing the color, we also change the shadow color to the selected color (darker). We think it looks nicer when the shadow follows the bg color.
Apart from any use case consideration, a setStyle() should do its job right: apply all the entries to the object, including ShadowColor.
Hi,
The ShadowColor set on a node after its creation is not taken into account. This is because it is not forwarded to the QGraphicsDropShadowEffect installed:
Workaround: Set it manually