moosetechnology / Moose

MOOSE - Platform for software and data analysis.
https://moosetechnology.github.io/moose-wiki
MIT License
136 stars 34 forks source link

Roassal Mondrian - Circle with Text obscures text #915

Closed seandenigris closed 9 years ago

seandenigris commented 9 years ago

Originally reported on Google Code with ID 915

I want to draw a node in the diagram with a circle (actually, an ellipse) around it,
which works.  However, the circle obscures part of the text.  If the text is multi-line,
it obscures quite a bit, in fact.

File in the attached extension to ROMondrianExmaple, then run:
ROMondrianExample new labeledCircle
You should see the issue.

Latest Moose Suite 4.7, windows platform.

Labels: Type-Enhancement
Labels: Component-Roassal

Reported by cunningham.cb on 2013-02-16 00:00:19


seandenigris commented 9 years ago
I guess I should mention what I'd like it to do - which is to have all of the text be
inside of the Circle (or ellipse).

Reported by cunningham.cb on 2013-02-16 00:01:06

seandenigris commented 9 years ago
Thanks! 
We will see how to fix this

Reported by alexandre.bergel on 2013-03-06 18:21:05

seandenigris commented 9 years ago
We have been slow on this issue. Roassal2 should now fix this.

Consider the code:

v := RTView new.

s := RTEllipse new + RTLabel new.
s allOfSameSize.
e := s elementOn: 'Hello World'.
e @ RTDraggable.
v add: e.
v

The result is as attachment.

Reported by alexandre.bergel on 2015-02-27 16:58:23