You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2017/11/15 08:12:37 UTC

[GitHub] justinmclean opened a new issue #90: Spans don't lay out horizontally as expected

justinmclean opened a new issue #90: Spans don't lay out horizontally as expected
URL: https://github.com/apache/royale-asjs/issues/90
 
 
   This code:
   ```
   <?xml version="1.0" encoding="utf-8"?>
   <js:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
                   xmlns:js="library://ns.apache.org/royale/basic">
   
      <js:valuesImpl>
          <js:SimpleCSSValuesImpl/>
      </js:valuesImpl>
   
       <js:beads>
            <js:ApplicationDataBinding />
       </js:beads>
   
   
       <fx:Script><![CDATA[
           [Bindable] public var name:String = "John";
           ]]></fx:Script>
   
      <js:initialView>
          <js:View>
              <js:Container width="400" height="100">
                  <js:Span text="Hi "/>
                  <js:Span text="{name}"/>
                  <js:Span text=" and welcome"/>
              </js:Container>
          </js:View>
      </js:initialView>
   </js:Application>
   ```
   
   Displays like this which is probably unexpected:
   ![2017-11-15_19-11-17](https://user-images.githubusercontent.com/144504/32825357-ca22aa0e-ca38-11e7-9041-a68b4a764b77.png)
   
   When this:
   ```
   <span>Hi </span>
   <span>John</span>
   <span> and welcome</span>
   ```
   
   Displays as this:
   <span>Hi </span>
   <span>John</span>
   <span> and welcome</span>
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services