setOpacity and animations don't work for SpinControl

Started by GetterSetter, 23 March 2024, 12:11:22

GetterSetter

Version: TGUI-1.1.0
OS: Kubuntu-22.04

Hello, I've faced the following problem:
When I call spin_control->hideWithEffect(...) none of the effects affects widget somehow.
 
When I call spin_control->getRenderer()->setOpacity(0) nothing happens again.

But if I use
spin_control->getSpinButtonRenderer()->setOpacity(0.5);
spin_control->getSpinTextRenderer()->setOpacity(0.5);
it actually works.

Is this bug or am I doing something wrong?

texus

Definitely a bug. Two bugs even.

This has now been fixed in the last TGUI 1.x-dev version.
Just in time for the TGUI 1.2 release that is coming later today.

GetterSetter

Okay, thank you. I have also found a bug with dynamic texture changing. Should I start a new topic, or can I describe it here?

texus