joergreichert / spray

Automatically exported from code.google.com/p/spray
1 stars 2 forks source link

Resize of shapes containing texts ugly #205

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Also experienced one week ago, when resizing a shape containing a text, e.g. 
dragging the right edge of the shape more and more to the right, the text 
wanders torwards the right edge until it disappears.

http://spray.eclipselabs.org.codespot.com/git/examples/bpmn2.0/org.eclipselabs.s
pray.examples.bpmn.diagrams/receipt/receipt.PNG

Original issue reported on code.google.com by de.abg.r...@gmail.com on 19 Nov 2012 at 4:00

GoogleCodeExporter commented 9 years ago

Original comment by de.abg.r...@gmail.com on 19 Nov 2012 at 4:01

GoogleCodeExporter commented 9 years ago

Original comment by joswar...@gmail.com on 19 Nov 2012 at 4:06

GoogleCodeExporter commented 9 years ago
Can you explain in what circumstances, or attach the style/shape and spray 
files ? I cannot reproduce this behavior in the examples I use.

Original comment by joswar...@gmail.com on 19 Nov 2012 at 4:21

GoogleCodeExporter commented 9 years ago
I used the BPMN2 example project:
http://code.google.com/a/eclipselabs.org/p/spray/source/browse/#git%2Fexamples%2
Fbpmn2.0%2Forg.eclipselabs.spray.examples.bpmn

and created an example diagram:
http://code.google.com/a/eclipselabs.org/p/spray/source/browse/#git%2Fexamples%2
Fbpmn2.0%2Forg.eclipselabs.spray.examples.bpmn.diagrams%2Freceipt

I had this behavior on 11/11/12, I did not test if this has been fixed in the 
mean time.

Original comment by de.abg.r...@gmail.com on 19 Nov 2012 at 4:39

GoogleCodeExporter commented 9 years ago
I see, the horizontal-align=center of the text is taken in relationship with 
the text object,  not in relation with the parent rectangle. And the text size 
grows shrinks with the text,  which it should not.

Original comment by joswar...@gmail.com on 19 Nov 2012 at 6:13