I'm facing one weird problem : I'm using a viewStack which have is property resizeToContent
set to true
. When I'm selecting a child higher than the viewStack, it's correctly resized, but when I'm selecting another child which is smaller, the viewStack isn't resized !!!
What I want is that my viewStack get the height
of the selectedChild
each time.
though, the Adobe doc say :
If true, the ViewStack container automatically resizes to the size of its current child.
Have any idea ???
thanks a lot
So...,
as I haven't found any solution, I take a work around : I'm setting a default value for the height of my viewStack each time I'm changing the view seleted.... It's not very clean, but it's work
but if someone found a better soluce, I'll be happy :)