I solved this with some help from TeotiGraphics. In my actionscript i was doing setStyle("top", "2")
What I should have been doing was setStyle("top", 2) - without the quotes on the number. It seems Flex 3 gets fussy about native data types. I am assuming it was resolving the string "2" to be 0 and getting it knickers in a twist and setting invalid (or default) values. At least this solved my problems, maybe it will yours. BOb --- In flexcoders@yahoogroups.com, "Ryan" <[EMAIL PROTECTED]> wrote: > > I'm having the exact same problem. I have tried setting all my parent > objects to 100% height and also leaving the height out entirely. I > have no type of hard coded sizes in anything contained in the tab > navigator. > > Thanks, > > Ryan > > --- In flexcoders@yahoogroups.com, "bobpardoe1959" <bob.pardoe@> wrote: > > > > I have a TabNavigator and I add children to it in actionscript. Each > > child has its style set to top=2, bottom=2, left=2, right=2. > > > > When displayed the tabnavigator has a 20ish pixel gap on bottom and on > > the right of the container area. Left and top are aligned correctly. > > > > It looks as if it is space reserved for scroll bars. > > > > I have set the horizontalGap and verticalGap styles to be 0. I have > > turned off the horizontal and vertical scroll policies, but still it > > remains. > > > > Is it me or is the Flex 3 measurement system less robust than Flex2 ? > > I seem to be having all sorts of issues relating to the runtime > > measurement of HBox and VBox components when sized by percent or styles. > > > > Is anyone able explain what might be going on ? > > > > Thanks > > > > BOb > > >