<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>layout &#8211; Alessandro Crugnola &#8211; sephiroth.it</title>
	<atom:link href="https://blog.sephiroth.it/tag/layout/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.sephiroth.it</link>
	<description>programmer by pure chance</description>
	<lastBuildDate>Thu, 29 Jul 2010 11:01:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://blog.sephiroth.it/wp-content/uploads/2019/03/cropped-sepy-big-32x32.png</url>
	<title>layout &#8211; Alessandro Crugnola &#8211; sephiroth.it</title>
	<link>https://blog.sephiroth.it</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>FlexLayout for AsWing</title>
		<link>https://blog.sephiroth.it/2010/07/29/flexlayout-for-aswing/</link>
					<comments>https://blog.sephiroth.it/2010/07/29/flexlayout-for-aswing/#respond</comments>
		
		<dc:creator><![CDATA[Alessandro Crugnola]]></dc:creator>
		<pubDate>Thu, 29 Jul 2010 10:34:23 +0000</pubDate>
				<category><![CDATA[actionscript]]></category>
		<category><![CDATA[aswing]]></category>
		<category><![CDATA[layout]]></category>
		<category><![CDATA[opensource]]></category>
		<guid isPermaLink="false">http://blog.sephiroth.it/?p=1353</guid>

					<description><![CDATA[As you may have noticed I&#8217;m working with AsWing right now &#240;&#159;&#153;&#130; Today I proposed a modification of the layout system. That&#8217;s because I couldn&#8217;t find any layout which satisfied my needs: a container which grows its components in order to fill the entire container size BUT which also keep in mind the component minimum &#8230; <a href="https://blog.sephiroth.it/2010/07/29/flexlayout-for-aswing/" class="more-link">Continue reading <span class="screen-reader-text">FlexLayout for AsWing</span></a>]]></description>
										<content:encoded><![CDATA[<p>As you may have noticed I&#8217;m working with <a href="http://www.aswing.org/" target="_blank">AsWing</a> right now 🙂<br />
 Today I proposed a modification of the layout system. That&#8217;s because I couldn&#8217;t find any layout which satisfied my needs: a container which grows its components in order to fill the entire container size BUT which also keep in mind the component minimum and maximum sizes.<br />
 So it will try to grow all the components to the same size, but if a component has defined a specific minimum or maximum size, take that size under consideration.</p>
<p>Here&#8217;s a screenshot of the <strong>FlexLayout</strong> class in action ( click over the image to see the live demo ):</p>
<p><a rel="shadowbox;height=600;width=600" href="https://blog.sephiroth.it/wp-content/uploads/2010/07/test_ui_21.swf"><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-1354" title="Screen shot 2010-07-29 at 12.19.47 PM" src="https://blog.sephiroth.it/wp-content/uploads/2010/07/Screen-shot-2010-07-29-at-12.19.47-PM.png" alt="" width="299" height="400" srcset="https://blog.sephiroth.it/wp-content/uploads/2010/07/Screen-shot-2010-07-29-at-12.19.47-PM.png 299w, https://blog.sephiroth.it/wp-content/uploads/2010/07/Screen-shot-2010-07-29-at-12.19.47-PM-224x300.png 224w" sizes="(max-width: 299px) 100vw, 299px" /></a></p>
<p>And here&#8217;s the code for using the layout:</p>
<p><code>f.getContentPane().setLayout( new FlexLayout( FlexLayout.VERTICAL, 2 ) );</code></p>
<p><span id="more-1353"></span></p>
<p>Here below I&#8217;m attaching the current aswing package with all the modifications I did recently, in case someone find it useful.</p>
<p>[attachments docid=1356 fields=description title=&#8221;AsWing source code&#8221; force_saveas=&#8221;1&#8243; logged_users=&#8221;0&#8243;]</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.sephiroth.it/2010/07/29/flexlayout-for-aswing/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
