MyGUI related question

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
Jay721
Halfling
Posts: 62
Joined: Mon Jan 29, 2018 8:19 am

MyGUI related question

Post by Jay721 » Mon Oct 22, 2018 6:10 pm

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.
0 x

xrgo
OGRE Expert User
OGRE Expert User
Posts: 1044
Joined: Sat Jul 06, 2013 10:59 pm
Location: Chile
x 73

Re: MyGUI related question

Post by xrgo » Mon Oct 22, 2018 6:20 pm

you have to setInheritsAlpha( false ) on the text widget/object
0 x

Post Reply