New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Fill Colour for relationship text #271
Comments
Yes, this is possible. Also better would be multi-line text and free positioning of the text label rather than the limited three positions currently implemented. I can implement the first two but not the free positioning - this requires better GEF/Draw2d expertise than I currently have. Perhaps that would be something that someone in the OS community might try. |
Hi, I have a small patch to add this background (in fact I created it more than a year ago). It only miss some options (and obsiously to adapt ecore model to store the color). I can confrm this has been prooven useful. Multi-line would be useful too. |
I'm working on it. My current approach is to not draw the part of the relationship under the label. This would remove the need to set an explicit background. |
Set opacity of label? |
I have to test. This seems very similar in effect. |
But then if we add opacity value or fill color the user could adjust as needed |
OK, that's why I did it differetly. Look at the branch I pushed yesterday. This is a test that works great. I should be able to optimize it through a better clipping area. |
But maybe if the user has options of (1) Opacity and (2) Fill color it provides them with more choice? Perhaps they would like a white label on a grey background? |
In this context I'm all for the KISS principle. IMHO our real issue is that label is not readable when set in the middle, not that someone misses label background. |
@Phillipus I've just re-pushed my branch with my "final" fix. You can test it and merge it if ok for you. |
@jbsarrodie Yeah, that seems to do the trick. I guess we should merge it and see what users think. If there are any problems with it we can either tweak it, remove it, add an opacity/fill option.... |
Closing as this has been fixed for some time |
Using lots of relationship names, it is disturbing that the arrow is crossing the text (when positioned middle), making the text less readable. The text-box is transparant by default, and this is not changeable.
It would be nice of we also could define the Fill Colour for the relationship text. The colour by default, I would say, should be white:
What do you think?
The text was updated successfully, but these errors were encountered: