Qt 4.8
|
The AnchorChanges element allows you to change the anchors of an item in a state. More...
The AnchorChanges element allows you to change the anchors of an item in a state.
The AnchorChanges element is used to modify the anchors of an item in a State .
AnchorChanges cannot be used to modify the margins on an item. For this, use PropertyChanges intead.
In the following example we change the top and bottom anchors of an item using AnchorChanges, and the top and bottom anchor margins using PropertyChanges:
AnchorChanges can be animated using AnchorAnimation.
Margin animations can be animated using NumberAnimation.
For more information on anchors see anchor-layout{Anchor Layouts}.