[Interest] How to force layout...

Bo Thorsen bo at vikingsoft.eu
Tue Aug 5 12:18:37 CEST 2014


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



More information about the Interest mailing list