1 Reply Latest reply on Sep 30, 2009 6:31 AM by Jerry62712

    Flex and horizontal data loss

    Jerry62712 Level 1

      I have a container and inside of it two items.  The label is 85% of the container and the data is 15%.  When the font size is increased, the label pushs the data off the screen.  Here is the code:

       

            <!-- second column ************************************************ -->
            <!-- ************************************************************** -->
            <mx:Canvas id="rightSideCanvas"
                verticalScrollPolicy="off" horizontalScrollPolicy="off"
                 backgroundColor="#dedacf"
                 y="0"
                 width="50%"
                 height="100%">
                <mx:HBox id="resultEarnedIncomeLimitBox"
                    y="20"
                    width="100%">
                    <mx:Label id="resultEarnedIncomeLimitLabel"
                        text=" "
                        width="85%"
                        toolTip=" "
                        tabIndex="265" />
                    <mx:Text id="resultEarnedIncomeLimitData"
                        textAlign="right"
                        width="15%"
                        tabIndex="268" />
                   </mx:HBox>