editbox alpha
Posted: Wed Dec 01, 2004 16:15
by placebo
Hi,
I have an editbox, I want to set alpha to this editbox, but I don't want that the text entered in this editbox is affect by the alpha. How can I do that ?
Thanks.
editbox alpha
Posted: Thu Dec 02, 2004 10:17
by CrazyEddie
Hi,
Presently there is no discreet setting for the text alpha; it is tied to that of the windget itself.
There are two possible solutions, although, depending upon your exact requirements, neither may be ideal.
1) Modify the imageset image file and set the alpha for the editbox components to whatever you want. Run the window with 1.0f alpha; the container will get its alpha from the imagery and the text will get it's alpha from the window setting.
2) Modify the code for the concrete editbox type to render the text with 1.0f alpha.
As I say, neither of these are ideal. A setting to allow better control may be introduced at some stage...
CE.