qml version of visibility gone
Reza Shah
rshah0385 at kireihana.com
Sun Sep 9 01:57:32 UTC 2012
Hi,
Background:
I have two buttons with display order side by side: [A][B]
I like to have the final display like [B]
In android i can set the visibility of button A to gone, then the B
will occupy button A space.
I tried to achieve the same thing in qml using anchor.
So when A visibility is false, i set button B left anchor to parent.left.
Is this correct way? or there is better alternative?
Regards,
Reza
More information about the Plasma-devel
mailing list