I have a canvas inside of which I have set the following constraints:
<mx:constraintColumns>
<mx:ConstraintColumn id="col1" width="25"/>
<mx:ConstraintColumn id="col2" width="100%"/>
</mx:constraintColumns>
<mx:constraintRows>
<mx:ConstraintRow id="row1" height="25"/>
<mx:ConstraintRow id="row2" height="100%"/>
<mx:ConstraintRow id="row3" height="200"/>
</mx:constraintRows>
What I want is for the region col2/row2 to fill the remaining
available space atfer allwoing for all the fixed regions which is why
I set it to 100%, the other regions are all fixed.
The problem is when I do this the content in col2/row2 extends to the
bottom of the screen and has row3/col2 overlaid on top of it.
It looks like when a percent constraint is set it takes all the
remaining space and ignores any subsequent fixed constraints rather
than occupy the space left after deducting both 200+25 which are the
fixed constraints.
Is that how it is supposed to work??
and ...
If so how do I specify a constraint that is "all remaining space" so
that it can have fixed constraints before and after it.
I should add that horizontlly it appears to work fine but in that
case I have fixed/percent and not fixed/percent/fixed as I have
vertically.
tks