[flexcoders] Re-calculate height after setting includeInLayout to false

2009-09-15 Thread flex_coder
I have a VBox which contains another 12 HBoxes. Like 12 rows of data.
Its all created using action script addChild() code. No MXML.

Now this is all dynamically controlled. E.g. I might want to hide all rows 
after 4th row. Thats doable, but if I do that, the height of the VBox remains 
the same as it was when it had 12 rows in it. I have also set includeInLayout 
to false and visible to false on the HBoxes...

any ideas what I am missing ? 



[flexcoders] Re: Vertical TabBar Control

2009-09-10 Thread flex_coder
yeah I figured that one out, thanks. However if I have a ViewStack in place for 
each of the tabs in the Tabbar, there is always a gap in between the tabbar and 
the viewstack. I have tried making all paddings and verticalgap and 
horizontalgap to 0 but the spacing doesnt go away. any ideas for that? 

--- In flexcoders@yahoogroups.com, turbo_vb timh...@... wrote:

 mx:TabBar direction=vertical/
 
 -TH
 
 --- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote:
 
  
  --- In flexcoders@yahoogroups.com, turbo_vb TimHoff@ wrote:
  
  
   --- In flexcoders@yahoogroups.com, flex_coder flex_coder@ wrote:
   
Does anyone know of a Vertical TabBar control for Flex. I am using
   Flex 3 and I cant seem to find a Vertical Tabbar.
   
Any help is much appreciated.
   
  
 





[flexcoders] Vertical TabBar Control

2009-09-09 Thread flex_coder
Does anyone know of a Vertical TabBar control for Flex. I am using Flex 3 and I 
cant seem to find a Vertical Tabbar.

Any help is much appreciated.



[flexcoders] Canvas with Draggable Components on it

2009-09-06 Thread flex_coder
I am working on a application where I have a Canvas. and a lot of
different Flex Components (text fields, images, checkboxs etc) are
inserted on this Canvas. All of them are supposed to be selectable,
draggable and configurable. e.g. If I select a text field, I should be
able to change the default text, size etcif I select a combobox, I
should be able to add and remove items, select font styles etcmore
or less like a form designer.

I have a lot of questions but my first question is this :-

Lets say I have a Text Object or a Shape Object inserted on Canvas. I
can drag it just fine but how do I add a little description of what this
control is, just below the draggable handles? So when you move your
mouse over a textfield, it shows a little Label that says Text Field
below the draggable handles.

I was thinking, just like the objects are inserted on Canvas using x,y
coordinates, I could add another Label object below every Object as
well, but I dont want these labels to change other components'
positioning. Whats the best way to do this and any examples out there?