Skip to main content


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 11:51 Go to next message
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 476
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 12:22]

Report message to a moderator

Re: [Draw2D] Background image [message #754740 is a reply to message #754583] Fri, 04 November 2011 06:30 Go to previous message
Ludwig Moser is currently offline Ludwig MoserFriend
Messages: 476
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: Thu Apr 25 23:15:08 GMT 2024

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

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

Back to the top