qlands
12th June 2010, 12:43
Hi
I'm embedding a widget into a scene with a proxy. But I have the following problem with the boundingRect.
http://www.qlands.com/other_files/scene03.jpg
The black boxes in the image are added according to the bounding rectangle of the proxy item but the embedded widget is not centered inside inside the rectangle.
How can I center the widget inside the bounding rectangle of the proxy item?
Thanks,
Carlos
I'm embedding a widget into a scene with a proxy. But I have the following problem with the boundingRect.
http://www.qlands.com/other_files/scene03.jpg
The black boxes in the image are added according to the bounding rectangle of the proxy item but the embedded widget is not centered inside inside the rectangle.
How can I center the widget inside the bounding rectangle of the proxy item?
Thanks,
Carlos