Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumssetBackgroundColor on WrappingLabel
https://www.eclipse.org/forums/index.php/mv/msg/163832/518571/#msg_518571
Originally posted by: ML1984.gmx.de
Hello.
Calling setBackgroundColor() on a WrappingLabel does not cause any
visible changes. What might be the reason for this?
How can I change the background color of a WrappingLabel?
The WrappingLabel is placed inside a Node, GridLayout is used.
Any help is greatly appreciated.
Cheers,
Mark]]>2010-03-04T14:10:30-00:00Re: setBackgroundColor on WrappingLabel
https://www.eclipse.org/forums/index.php/mv/msg/163832/518600/#msg_518600
labels are not opaque by default in GMF. You'll also need to call setOpaque(true) on your WrappingLabel.