Closed GoogleCodeExporter closed 8 years ago
Fixed. This also may fix similar problems with images. The problem was when
AbstractContent::resizeContents() was called with 2nd param 'true' (keepRatio),
it
re-centered the rect via moving rect top up by 1/2 the height, while also
setting the
new height. I just removed the setTop() call and left in the setHeight() (which
seems
the correct way to do it). This was leftover from the fotowall import, wherein
fotowall regards the center of the object as the true object position, but dviz
uses
the top-left as the true object position.
Original comment by josiahbryan@gmail.com
on 12 Feb 2010 at 3:49
Original issue reported on code.google.com by
josiahbryan@gmail.com
on 12 Feb 2010 at 3:30