<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Centering objects in Spark ( Flex 4 )</title>
	<atom:link href="http://blog.ncatstudios.com/2009/08/18/centering-objects-in-spark-flex-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ncatstudios.com/2009/08/18/centering-objects-in-spark-flex-4/?utm_source=rss&amp;utm_medium=rss&amp;utm_campaign=rss</link>
	<description>Web technologies and Interactivity ramblings</description>
	<lastBuildDate>Sun, 13 Jun 2010 22:30:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	<item>
		<title>By: Steven Shongrunden</title>
		<link>http://blog.ncatstudios.com/2009/08/18/centering-objects-in-spark-flex-4/comment-page-1/#comment-168</link>
		<dc:creator>Steven Shongrunden</dc:creator>
		<pubDate>Thu, 11 Mar 2010 02:42:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ncatstudios.com/?p=93&amp;language=en#comment-168</guid>
		<description>HorizontalLayout/HGroup does now support horizontalAlign in Flex 4.  Similarly VerticalLayout/VGroup now supports verticalAlign.  This was not available in beta2, but is available in recent nightly builds.  See this post for more information: &lt;a href=&quot;http://flexponential.com/2010/01/20/major-axis-alignment-now-supported-in-spark/&quot; target=&quot;_blank&quot;&gt;http://flexponential.com/2010/01/20/major-axis-al...&lt;/a&gt; </description>
		<content:encoded><![CDATA[<p>HorizontalLayout/HGroup does now support horizontalAlign in Flex 4.  Similarly VerticalLayout/VGroup now supports verticalAlign.  This was not available in beta2, but is available in recent nightly builds.  See this post for more information: <a href="http://flexponential.com/2010/01/20/major-axis-alignment-now-supported-in-spark/" target="_blank"></a><a href="http://flexponential.com/2010/01/20/major-axis-al.." rel="nofollow">http://flexponential.com/2010/01/20/major-axis-al..</a>.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xavier Colomer</title>
		<link>http://blog.ncatstudios.com/2009/08/18/centering-objects-in-spark-flex-4/comment-page-1/#comment-63</link>
		<dc:creator>Xavier Colomer</dc:creator>
		<pubDate>Tue, 18 Aug 2009 21:37:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ncatstudios.com/?p=93&amp;language=en#comment-63</guid>
		<description>It&#039;s true, HorizontalLayout implements a similar HBox container but you can&#039;t use horizontalAlign. The same occurs with VerticalLayout with verticalAlign.
</description>
		<content:encoded><![CDATA[<p>It&#8217;s true, HorizontalLayout implements a similar HBox container but you can&#8217;t use horizontalAlign. The same occurs with VerticalLayout with verticalAlign.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mrinal Wadhwa</title>
		<link>http://blog.ncatstudios.com/2009/08/18/centering-objects-in-spark-flex-4/comment-page-1/#comment-62</link>
		<dc:creator>Mrinal Wadhwa</dc:creator>
		<pubDate>Tue, 18 Aug 2009 21:29:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ncatstudios.com/?p=93&amp;language=en#comment-62</guid>
		<description>Ok, Wordpress ate the ... one more try ...

I&#039;m not sure I understood you right but if you want to center an object in a container ...

in Flex 3 you would do ...

&lt;mx:Canvas width=&quot;100%&quot; height=&quot;100%&quot;&gt;
    &lt;mx:Button horizontalCenter=&quot;0&quot; verticalCenter=&quot;0&quot;/&gt;  
&lt;/mx:Canvas&gt;


In Flex 4 you would do ....

&lt;s:Group width=&quot;100%&quot; height=&quot;100%&quot;&gt;
    &lt;s:Button horizontalCenter=&quot;0&quot; verticalCenter=&quot;0&quot;/&gt;  
&lt;/s:Group&gt;



Group by default follows BasicLayout which is the same as the layout of Canvas in Flex 3

HorizontalLayout implements a layout similar to HBox in Flex 3
</description>
		<content:encoded><![CDATA[<p>Ok, WordPress ate the &#8230; one more try &#8230;</p>
<p>I&#8217;m not sure I understood you right but if you want to center an object in a container &#8230;</p>
<p>in Flex 3 you would do &#8230;</p>
<p>&lt;mx:Canvas width=&#8221;100%&#8221; height=&#8221;100%&#8221;&gt;<br />
    &lt;mx:Button horizontalCenter=&#8221;0&#8243; verticalCenter=&#8221;0&#8243;/&gt;<br />
&lt;/mx:Canvas&gt;</p>
<p>In Flex 4 you would do &#8230;.</p>
<p>&lt;s:Group width=&#8221;100%&#8221; height=&#8221;100%&#8221;&gt;<br />
    &lt;s:Button horizontalCenter=&#8221;0&#8243; verticalCenter=&#8221;0&#8243;/&gt;<br />
&lt;/s:Group&gt;</p>
<p>Group by default follows BasicLayout which is the same as the layout of Canvas in Flex 3</p>
<p>HorizontalLayout implements a layout similar to HBox in Flex 3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xavier Colomer</title>
		<link>http://blog.ncatstudios.com/2009/08/18/centering-objects-in-spark-flex-4/comment-page-1/#comment-61</link>
		<dc:creator>Xavier Colomer</dc:creator>
		<pubDate>Tue, 18 Aug 2009 21:29:34 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ncatstudios.com/?p=93&amp;language=en#comment-61</guid>
		<description>Sorry, you should be able to see it now, I having some problems with the editor...</description>
		<content:encoded><![CDATA[<p>Sorry, you should be able to see it now, I having some problems with the editor&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mrinal Wadhwa</title>
		<link>http://blog.ncatstudios.com/2009/08/18/centering-objects-in-spark-flex-4/comment-page-1/#comment-60</link>
		<dc:creator>Mrinal Wadhwa</dc:creator>
		<pubDate>Tue, 18 Aug 2009 21:26:46 +0000</pubDate>
		<guid isPermaLink="false">http://blog.ncatstudios.com/?p=93&amp;language=en#comment-60</guid>
		<description>I&#039;m not sure I understood you right but if you want to center an object in a container ...

in Flex 3 you would do ...


      



In Flex 4 you would do ....


      




Group by default follows BasicLayout which is the same as the layout of Canvas in Flex 3

HorizontalLayout implements a layout similar to HBox in Flex 3</description>
		<content:encoded><![CDATA[<p>I&#8217;m not sure I understood you right but if you want to center an object in a container &#8230;</p>
<p>in Flex 3 you would do &#8230;</p>
<p>In Flex 4 you would do &#8230;.</p>
<p>Group by default follows BasicLayout which is the same as the layout of Canvas in Flex 3</p>
<p>HorizontalLayout implements a layout similar to HBox in Flex 3</p>
]]></content:encoded>
	</item>
</channel>
</rss>
