achuanle / umlet

Automatically exported from code.google.com/p/umlet
0 stars 0 forks source link

all in one diagrams copy and insert in ms paint only work at 100% zoom #175

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create diagram with "Activity - All in one" or "Sequence - All in one" 
diagram
2. zoom to a zoom level other than 100%
3. copy element and insert into MS Paint, MS Word, ... (to trigger the image 
copy functionality)

What is the expected output? What do you see instead?
Expected: image should look like in UMLet
Instead: image is too small (<100% zoom) or too large (>100% zoom)

Original issue reported on code.google.com by AFDiaX on 24 Mar 2014 at 8:30

GoogleCodeExporter commented 9 years ago
problem is that within the paint() method, a call to setSize() is made, but a 
paint() method should NOT change the element

hard to fix without large changes or a redesign of all in one elements as 
NewGridElement

Original comment by AFDiaX on 3 Oct 2014 at 2:36