1 Reply Latest reply on May 5, 2010 3:48 AM by David_F57

    Text is not correctly aligned in s:Label or s:RichText components

    JabbyPandaUA Level 3

      If we set text value in MXML using child tags for s:Label or s:RichText component, then text is not correctly aligned, would you consider it to be a bug?

       

      Full code listing: http://gist.github.com/390552

       

      Part of the code sample:

       

          <s:Label text="Sample text"/>    
          <s:Label>
              <s:text>
                  Sample text
              </s:text>
          </s:Label>
          <s:RichText text="Sample text"/>
          <s:RichText>
              <s:text>
                  Sample text
              </s:text>
          </s:RichText>
      
      

       

       

      Result:

       

      http://lh4.ggpht.com/_GZ4fe45doHc/S-E09gQUC6I/AAAAAAAAB6g/jtDrB0gLXtI/s800/text_gap.jpg