[Qgis-developer] Get composer item's size and position

Alexander Bruy alexander.bruy at gmail.com
Mon Feb 27 12:50:55 EST 2012


Hi again,

seems it is impossible to get real width and height of the legend
until composition is not rendered. When legend added to composition
it always reports width == 4.0 and some height (different for different
layersets). And only after rendering composition I can get real legend
width and height.

Maybe there is some trick to get this info without rendering composition?

Thanks
-- 
Alexander Bruy


More information about the Qgis-developer mailing list