cheerq / flexlib

Automatically exported from code.google.com/p/flexlib
0 stars 0 forks source link

FlowBox does not display its children #138

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
To reproduce the problem, run the following application:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" 
    xmlns:flexlib="http://code.google.com/p/flexlib/"
    layout="vertical">
    <mx:Panel title="FlowBox Test">     
        <flexlib:FlowBox width="250" borderStyle="solid" 
backgroundColor="#FFFFFF">
            <mx:Button label="Hello"/>
            <mx:Label text="a"/>
        </flexlib:FlowBox>      
    </mx:Panel>
</mx:Application>

I see an empty flowbox. Neither the Button nor the Label are rendered, as 
seen in the attached file (flowbox is just a white line). The FlowBox 
example in the distribution works correctly. Also, if I start adding 
children programmatically, the button and label do show up.

I am using FlexLib 2.4 with Flex 3. 

Original issue reported on code.google.com by simcu...@gmail.com on 5 Jul 2008 at 5:39

Attachments:

GoogleCodeExporter commented 8 years ago
An issue with the FlowBox that seems to keep coming up deals with the height.  
If you
don't set a specific height, it won't work.  Right now, there are issues with 
having
a percentage as a height as well.

Original comment by terpcri...@gmail.com on 18 Aug 2008 at 8:58

GoogleCodeExporter commented 8 years ago

Original comment by dmcc...@gmail.com on 8 Jan 2009 at 5:14