vbox

setting verticalScrollPosition not working.

I have a VBox that I am populating programatically, After a particular event (dragDrop) I do some calculations, reorder some variables, then re-build the VBox. This all works great, but I want the VBox to scroll back to the correct verticalScrollPosition. I tried even the simplest thing: myVBox.verticalScrollPosition = 200 But I just ...

Flex: List with VBOX-type (smooth) scrolling??

I have a list control that uses a custom itemRenderer and custom itemEditor. The itemRenderer/Editor are textarea controls with at least 3 lines of text each. The default scrolling nature of a list control is by Item, rather than by some number of pixels, the way a VBOX scrolls. I want my list control to have more of a word-processor ...

How to get Flex components to fill available space using Actionscript

I was laying out my Flex components using mxml and had them working correctly. But then I wanted to switch them over to Actionscript because I wanted them to extend a base component that provides default functionality. I've go the code working except that my components that used to fill the entire space using width="100%" and height="1...

Anyone know of a multi-column VBox example?

Just wondering if anyone knows of an example out there, or class I can add to my app that would perform like a VBox but with 2 or more columns? I'm adding items to a VBox from a loop, and that works fine, but I want to have it split into two columns: _________________ | | | | Item 1 | Item 2 | | Item 3 | Item 4 | | Item...

flex add radiobutton child to VBox

I am having troubles adding a radiobutton to a VBox in actionscript. var radioButton:RadioButton = new RadioButton(); radioButton.groupName = "source"; radioButton.label = "label"; radioButton.selected = false; radioButton.addEventListener(Event.CHANGE, sourceChangeHandler); vBox.addChild(radioButton); I firs...

JavaFX layouts question.

I am having some problem understanding layouts in JavaFX. Consider following code. Stage { title: "ListView test" scene: Scene { width: 400 height: 400 content: [ VBox { content: [ ListView { height: 200 width...

Z-Order in javafx

How do i set z-order for VBox in JavaFX ...

In flex, how to get cooridnates when using VBox for stacking up components?

In flex, I am using VBox & HBox to stack components. When I try to get x,y coordinate of a component, I always get 0. If I specify cooridnate like mx:VBox x="120", then I get the value. How can I get the coordinate without explicitly stating it. ...