Hi,

Can anyone tell me why this displays horizontally rather than vertically? Is 
this a bug?

<?xml version="1.0" encoding="utf-8"?>
<js:Application xmlns:fx="http://ns.adobe.com/mxml/2009";
                xmlns:js="library://ns.apache.org/flexjs/basic”>

<js:initialView>
    <js:View>
        <js:Container>
            <js:beads>
                <js:VerticalLayout />
            </js:beads>
            <js:Label text="Hello" />
            <js:Label text="World" />
        </js:Container>
    </js:View>
</js:initialView>

</js:Application>

I can see the labels get turned into spans. Shouldn’t they be divs? Or do I 
need to use something else other than js:labels to get vertical alignment?

I can put <js:Spacer />’s after each one to get vertical alignment but that 
seems a bit hacky.

Thanks,
Justin

Reply via email to