<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -16,7 +16,6 @@
 &lt;!-- Sentence of who likes this.
      eg. &quot;Bobby, Mary, You and 14 others like this.&quot; --&gt;
 &lt;mx:Text xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
-         styleName=&quot;likeText&quot;
          htmlText=&quot;{data.likes.likeText}&quot; &gt;
 
   &lt;mx:Script&gt;&lt;![CDATA[</diff>
      <filename>fbair/nile/renderers/LikesRenderer.mxml</filename>
    </modified>
    <modified>
      <diff>@@ -249,7 +249,7 @@
       // Determine whether we have special content
       //   that requires a &quot;ContentRenderer&quot;.
       // If we don't already have a ContentRenderer...
-      if (!content &amp;&amp; hasRealAttachment()) {
+      if (!content &amp;&amp; hasRealAttachment) {
         // Turn attachment into collection for binding
         if ((data.attachment.media is Array)) {
           for (var i:int = 0; i &lt; data.attachment.media.length; i++) {
@@ -268,10 +268,10 @@
       }
     }
 
-    private function hasRealAttachment():Boolean {
+    private function get hasRealAttachment():Boolean {
       return data.attachment.media is Array
         || data.attachment.properties is Array
-        || (data.attachment.title &amp;&amp; data.attachment.title != '')
+        || (data.attachment.name &amp;&amp; data.attachment.name != '')
         || (data.attachment.description &amp;&amp; data.attachment.description != '');
     }
 </diff>
      <filename>fbair/nile/renderers/NileRenderer.mxml</filename>
    </modified>
    <modified>
      <diff>@@ -36,35 +36,38 @@
                 id=&quot;ufiPreview&quot;
                 styleName=&quot;ufiPreview&quot; &gt;
 
-    &lt;!-- Display number of comments, or add a comment --&gt;
-    &lt;util:FBButton autoStyle=&quot;true&quot;
-                   styleNamePrefix=&quot;actionButton&quot;
-                   includeInLayout=&quot;{MathUtil.or(data.comments.can_post,
-                                     data.comments.count &gt; 0)}&quot;
-                   visible=&quot;{MathUtil.or(data.comments.can_post,
-                             data.comments.count &gt; 0)}&quot;
-                   click=&quot;commentClicked(event)&quot;
-                   direction=&quot;horizontal&quot; &gt;
-      &lt;mx:Image source=&quot;@Embed('../../assets/comment.png')&quot; /&gt;
-      &lt;mx:Label styleName=&quot;actionButtonLabel&quot;
-                text=&quot;{commentTitle(data.comments.count, ufiMode)}&quot; /&gt;
-    &lt;/util:FBButton&gt;
-
-    &lt;!-- Like button --&gt;
-    &lt;util:FBButton id=&quot;likeLink&quot;
-                   autoStyle=&quot;true&quot;
-                   styleNamePrefix=&quot;actionButton&quot;
-                   visible=&quot;{data.likes.can_like}&quot;
-                   includeInLayout=&quot;{data.likes.can_like}&quot;
-                   click=&quot;likeClicked(event)&quot;
-                   direction=&quot;horizontal&quot; &gt;
-      &lt;mx:Image source=&quot;@Embed('../../assets/like.png')&quot; /&gt;
-      &lt;mx:Label styleName=&quot;actionButtonLabel&quot;
-                text=&quot;{data.likes.user_likes ? 'Unlike' : 'Like'}&quot; /&gt;
-    &lt;/util:FBButton&gt;
+    &lt;mx:HBox styleName=&quot;actionButtons&quot; &gt;
+      &lt;!-- Display number of comments, or add a comment --&gt;
+      &lt;util:FBButton autoStyle=&quot;true&quot;
+                     styleNamePrefix=&quot;actionButton&quot;
+                     includeInLayout=&quot;{MathUtil.or(data.comments.can_post,
+                                       data.comments.count &gt; 0)}&quot;
+                     visible=&quot;{MathUtil.or(data.comments.can_post,
+                               data.comments.count &gt; 0)}&quot;
+                     click=&quot;commentClicked(event)&quot;
+                     direction=&quot;horizontal&quot; &gt;
+        &lt;mx:Image source=&quot;@Embed('../../assets/comment.png')&quot; /&gt;
+        &lt;mx:Label styleName=&quot;actionButtonLabel&quot;
+                  text=&quot;{commentTitle(data.comments.count, ufiMode)}&quot; /&gt;
+      &lt;/util:FBButton&gt;
+
+      &lt;!-- Like button --&gt;
+      &lt;util:FBButton id=&quot;likeLink&quot;
+                     autoStyle=&quot;true&quot;
+                     styleNamePrefix=&quot;actionButton&quot;
+                     visible=&quot;{data.likes.can_like}&quot;
+                     includeInLayout=&quot;{data.likes.can_like}&quot;
+                     click=&quot;likeClicked(event)&quot;
+                     direction=&quot;horizontal&quot; &gt;
+        &lt;mx:Image source=&quot;@Embed('../../assets/like.png')&quot; /&gt;
+        &lt;mx:Label styleName=&quot;actionButtonLabel&quot;
+                  text=&quot;{data.likes.user_likes ? 'Unlike' : 'Like'}&quot; /&gt;
+      &lt;/util:FBButton&gt;
+    &lt;/mx:HBox&gt;
 
     &lt;!-- Show how many people like this in the preview --&gt;
     &lt;renderer:LikesRenderer id=&quot;likesRenderer&quot;
+                            styleName=&quot;likeText&quot;
                             maxWidth=&quot;{width}&quot;
                             data=&quot;{data}&quot; /&gt;
   &lt;/util:FlowBox&gt;</diff>
      <filename>fbair/nile/renderers/UFI.mxml</filename>
    </modified>
    <modified>
      <diff>@@ -1,3 +1,8 @@
+.actionButtons {
+  paddingLeft: -6;
+  horizontalGap: -2;
+}
+
 .actionButtonUp, .actionButtonOver, .actionButtonDown, .actionButtonDisabled {
   borderSkin: Embed(source='../assets/action2_button.png',scaleGridTop='3',scaleGridLeft='4',scaleGridBottom='5',scaleGridRight='6');
   paddingBottom: 2;
@@ -105,7 +110,7 @@
 
 .likeText {
   paddingTop: 2;
-  paddingLeft: 2;
+  paddingLeft: -2;
   color: #aaaaaa;
 }
 
@@ -184,9 +189,7 @@
 .ufiPreview {
   paddingBottom: -2;
   paddingTop: -6;
-  paddingLeft: -6;
-  horizontalGap: -2;
-  verticalGap: -4;
+  verticalGap: -6;
 }
 
 .ufiRenderers {</diff>
      <filename>fbair/styles/renderers.css</filename>
    </modified>
    <modified>
      <diff>@@ -25,7 +25,7 @@ package fbair.util.display {
     //   components must be laid out again
     private function resizeHandler(event:Event):void {
       //invalidateSize();
-      validateNow();
+      //validateNow();
       relayoutChildren();
     }
 </diff>
      <filename>fbair/util/display/FlowBox.as</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>fa25a7b8e40027597a29af5cb2cee4d432f9e960</id>
    </parent>
  </parents>
  <author>
    <name>Lee Byron</name>
    <email>leebyron@lbyron.wan</email>
  </author>
  <url>http://github.com/jubishop/Facebook-for-Adobe-AIR/commit/90e567898eac3245a946b5a3f0bec192c21fe47e</url>
  <id>90e567898eac3245a946b5a3f0bec192c21fe47e</id>
  <committed-date>2009-05-28T02:15:14-07:00</committed-date>
  <authored-date>2009-05-28T02:15:14-07:00</authored-date>
  <message>tweaks</message>
  <tree>eaecf4d09eaf6033f5450807afad68a4b89fba86</tree>
  <committer>
    <name>Lee Byron</name>
    <email>leebyron@lbyron.wan</email>
  </committer>
</commit>
