Den 04-08-2014 10:35, Igor Mironchik skrev:
> Hi.
> How to force layout to update geometries of items in it if some items
> changed theirs sizeHint property?
> For example if I rotate rectangle I want layout to update geometry of
> this rectangle.
> I’ve tried:
> layout->invalidate();
> layout->update();
> But with no success.

widget->updateGeometry();

-- 
Viking Software
Qt and C++ developers for hire
http://www.vikingsoft.eu
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to