TabWidget - why using .opacity instead of .visible property?
-
wrote on 14 Nov 2010, 15:52 last edited by
See: examples/declarative/ui-components/tabwidget/TabWidget.qml
Why is it showing/hiding elements using .opacity and not .visible? Is there some an undocumented performance issue or what? If both properties do the same, why use .opacity and make the confusion, using .visible would be more straightforward.
I googled a lot but didn't find an answer.
Cheers,
Boo Boo -
wrote on 15 Nov 2010, 00:03 last edited by
Hi,
It's probably just habit -- in our QML demos and examples we often fade things in and out, which is possible with opacity but not with visible.
Regards,
Michael
1/2