|ConnectionDecorator text decoration [message #758536]
||Wed, 23 November 2011 15:35
| Patrick Talbot
Registered: November 2011
I attach a Text to a Connection using a ConnectionDecorator (the same way this is done in the tutorials) but it seems that the text box is always transparent.|
I tried to set a background color, I tried setFilled(true), I tried setting it using a Style, I even tried setTransparency() but nothing works.
I thought of using a simple rectangle Shape but I didn't find out how to add a ShapeContainer to a ConnectionDecorator.
What I try to achieve is to have this kind of hierarchy:
> Rectangle ShapeContainer
Alternatively, does someone know how to make the Text box opaque?
Thanks for your help,
[Updated on: Wed, 23 November 2011 17:13]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.02989 seconds