I will try it but  the sample code works fine though.

On Wed, Nov 20, 2013 at 4:10 PM, Alex Harui <[email protected]> wrote:

> If you set width/height the component will no longer be measured and will
> probably use that height.  You can call setActualSize so it doesn't
> prevent measure.
>
> On 11/20/13 10:16 AM, "mark goldin" <[email protected]> wrote:
>
> >I have done more testing. In order to have it working we have to bind
> >rowHeight to height:
> > rowHeight="{myTileGroup.height}"
> >Works fine in the shown test. I am resizing it vertically in both
> >directions and the text box has proper height every time.
> >In my application I do it in AS:
> >BindingUtils.bindProperty(_tilegroup, "rowHeight", _tilegroup, "height");
> >BindingUtils.bindProperty(_tilegroup, "columnWidth", _tilegroup, "width");
> >
> >and what happens is when I increase the height it works fine, but when I
> >decrease it the content's height of _tilegroup is not getting smaller. I
> >tried BindingUtils.bindSetter to see what's going on and found that the
> >setter is not called when I make the height smaller. Any idea what is
> >wrong
> >with my code?
> >
> >Thanks
> >
> >
> >On Wed, Nov 20, 2013 at 10:12 AM, mark goldin <[email protected]>
> >wrote:
> >
> >> It looks like if I put a TileGroup into VDividedBox  the content of
> >> TileGroup  is not getting resized.
> >> Here is code:
> >> <?xml version="1.0"?>
> >> <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
> >>    xmlns:s="library://ns.adobe.com/flex/spark"
> >>    xmlns:mx="library://ns.adobe.com/flex/mx">
> >>  <s:Panel title="VDividedBox Container Example"
> >>  width="75%" height="75%"
> >>  horizontalCenter="0" verticalCenter="0">
> >> <mx:VDividedBox width="100%" height="100%">
> >>  <mx:Label text="Add components here" fontWeight="bold"/>
> >> <s:TileGroup clipAndEnableScrolling="true">
> >>  <s:TextArea height="200">
> >> </s:TextArea>
> >>  </s:TileGroup>
> >> <mx:Canvas label="Canvas 2" width="100%" height="100%"
> >> backgroundColor="#99CCFF">
> >>  <mx:Label text="Add components here" fontWeight="bold"/>
> >> </mx:Canvas>
> >>  </mx:VDividedBox>
> >> </s:Panel>
> >> </s:Application>
> >>
> >> Do I need to adjust it manually?
> >>
> >> Thanks
> >>
>
>

Reply via email to