Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

G4P question: how to make a button with transparent background?

$
0
0

Can I make a button with transparent button/or button with some alpha value, without using GImageButton?

When I do something like,

button.setAlpha(100);

the mouse over and click event effect goes away, and text gets alphaed as well.

Any quick fix?

Thanks!

(Also, any way to specify the thickness, color etc. of the button? )


Viewing all articles
Browse latest Browse all 2896

Trending Articles