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:


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.

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.

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

Current Time: Sun Feb 28 23:38:30 GMT 2021

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

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

Back to the top