Re: [Interest] How to force layout...

2014-08-05 Thread Bo Thorsen
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->upd

Re: [Interest] How to force layout...

2014-08-04 Thread Michael Sué
Perhaps you forgot to call "prepareGeometryChange()" before the rotation? --Michael. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] How to force layout...

2014-08-04 Thread Igor Mironchik
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. Thanks._