Re: [flexcoders] VBox constrains - A simple question :-p

2009-08-20 Thread Wesley Acheson
I agree its counter intuative. There is some documentation on the measure method of box. This behaviour isn't explictly mentioned however It may be covered if you delve into the rules on http://livedocs.adobe.com/flex/3/langref/mx/containers/Box.html#measure()

Re: [flexcoders] VBox constrains - A simple question :-p

2009-08-20 Thread Fotis Chatzinikos
Thanks! Setting the minimum height works but still its counterintuitive at the least... Can somebody from Adobe point me to the docs explaining this behaviour? TIA, Fotis On Thu, Aug 20, 2009 at 10:39 AM, Wesley Acheson wrote: > > > Sorry no I meant the min height. > > I didn't have a lot of ti

Re: [flexcoders] VBox constrains - A simple question :-p

2009-08-20 Thread Wesley Acheson
Sorry no I meant the min height. I didn't have a lot of time to answer when I typed this reply out before. I've seen this behaviour with dataGrid and I got stuck with it too, I asked here on the flexcoders mailing list. Basically when the items in a container are larger than its "height". The c

Re: [flexcoders] VBox constrains - A simple question :-p

2009-08-19 Thread Fotis Chatzinikos
Hi Wesley, do you mean the maxHeight? My problem is with the height of the box getting bigger than the application instead of staying @ bottom 10. If i set the height or maxHeight it works as advertised. I am not trying to just fix it though.. I am trying to understand/know why it does not work.

Re: [flexcoders] VBox constrains - A simple question :-p

2009-08-19 Thread Wesley Acheson
try setting the minWidth also. On Wed, Aug 19, 2009 at 6:29 PM, fotis.chatzinikos < fotis.chatzini...@gmail.com> wrote: > xmlns:mx="http://www.adobe.com/2006/mxml"; >width="640" >height="480" >> > horizontalAlign="left" verticalGap="5" id="debugWinVB_ID"> >

[flexcoders] VBox constrains - A simple question :-p

2009-08-19 Thread fotis.chatzinikos
http://www.adobe.com/2006/mxml"; width="640" height="480" > At the start of the application the VBox height is 370 (Application.height - vbox.top - vbox.bottom) -> Correct. Child labels are added to this vbox in runtime and as soon as the cumulative