Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » setBackgroundColor on WrappingLabel
setBackgroundColor on WrappingLabel [message #518571] Thu, 04 March 2010 14:10 Go to next message
Eclipse UserFriend
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
Re: setBackgroundColor on WrappingLabel [message #518600 is a reply to message #518571] Thu, 04 March 2010 15:30 Go to previous message
Robert Wloch is currently offline Robert WlochFriend
Messages: 109
Registered: July 2009
Senior Member
Hi Mark,

labels are not opaque by default in GMF. You'll also need to call setOpaque(true) on your WrappingLabel.

Rgrds
Rob
Previous Topic:Babel for Galileo-GMF
Next Topic:Graphics LineWidth & Zoom
Goto Forum:
  


Current Time: Sat Sep 19 17:19:33 GMT 2020

Powered by FUDForum. Page generated in 0.01804 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top