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
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
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._