Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Cascades Development

Reply
Contributor
oddboy
Posts: 31
Registered: ‎05-24-2011
My Carrier: rogers
Accepted Solution

set a background image for a TextArea or Label?

Hey gang,

 

I'd like to set a background image for a TextArea or a Label.

 

is there a way to do this?

 

alternatively, if i set the background at the root container level and make the rest of the controls slightly transparent (opacity: 0.8 or something), will the background show through?

 

thanks,

 

J

Please use plain text.
Trusted Contributor
slashkyle
Posts: 193
Registered: ‎10-16-2012
My Carrier: Telus

Re: set a background image for a TextArea or Label?

for your text area, set backgroundVisible: false &/or turn the opacity down enough that you can see through it and place your background image behind the text area. (i belive opacity changes will affect the text as well though).  

 

for labels, i used the container method as you described.

Please use plain text.