Page 1 of 1

MyGUI related question

Posted: Mon Oct 22, 2018 6:10 pm
by Jay721
Does anyone know if it's possible to change the transparency of a button whilst keeping the text solid.

Code: Select all

child->setAlpha(0.5);
Just makes the whole widget semi transparent.

Re: MyGUI related question

Posted: Mon Oct 22, 2018 6:20 pm
by xrgo
you have to setInheritsAlpha( false ) on the text widget/object