Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » [Draw2D] Background image(the content of the main figure is no longer opaque?)
[Draw2D] Background image [message #754583] Thu, 03 November 2011 07:51 Go to next message
Ludwig Moser is currently offline Ludwig Moser
Messages: 302
Registered: July 2009
Senior Member
Hello!

i tried to place a figure (Figure/Label...) on a composite where the content will be added (i tried to set a background image for the composite but this one does not get rendered when figures are placed.)
so i decided to place one large figure, which fits all the size of the composite/canvas

after that i place more figures on that figure and run the program.

i notice that "some" elements are opaque but most are not.

how can i correct that?


thanks in advance


i attached a small sample program which should demonstrate what i mean/do
you only need to fill in the correct path to an image (a bit bigger one Wink)
PS: i hope you understand what i mean - if not let me know

EDIT: i also tried to create a shell with bachground mode inherit default and applying a canvas with the figures on it (without the image figure as background then)
but the canvas simply overrides the background and does not inherit it (although its set manually) (also attached this try...)

[Updated on: Thu, 03 November 2011 08:22]

Report message to a moderator

Re: [Draw2D] Background image [message #754740 is a reply to message #754583] Fri, 04 November 2011 02:30 Go to previous message
Ludwig Moser is currently offline Ludwig Moser
Messages: 302
Registered: July 2009
Senior Member
somehow placing figures seems to break the thing up.
if i add a plain label its working fine.
Previous Topic:expand and collapse an editpart by clicking on it
Next Topic:GEF and e4
Goto Forum:
  


Current Time: Wed Apr 16 03:21:32 EDT 2014

Powered by FUDForum. Page generated in 0.03666 seconds