<?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: Setting the tab width on a TabBar control in Flex</title>
	<atom:link href="http://blog.flexexamples.com/2008/10/04/setting-the-tab-width-on-a-tabbar-control-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/10/04/setting-the-tab-width-on-a-tabbar-control-in-flex/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 14:19:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2008/10/04/setting-the-tab-width-on-a-tabbar-control-in-flex/comment-page-1/#comment-8380</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Thu, 30 Sep 2010 04:30:33 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/10/04/setting-the-tab-width-on-a-tabbar-control-in-flex/#comment-8380</guid>
		<description>Posted as a new example at http://blog.flexexamples.com/2010/09/29/setting-the-tab-width-on-a-spark-tabbar-control-in-flex-4/</description>
		<content:encoded><![CDATA[<p>Posted as a new example at <a href="http://blog.flexexamples.com/2010/09/29/setting-the-tab-width-on-a-spark-tabbar-control-in-flex-4/" rel="nofollow">http://blog.flexexamples.com/2010/09/29/setting-the-tab-width-on-a-spark-tabbar-control-in-flex-4/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2008/10/04/setting-the-tab-width-on-a-tabbar-control-in-flex/comment-page-1/#comment-8379</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Thu, 30 Sep 2010 04:16:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/10/04/setting-the-tab-width-on-a-tabbar-control-in-flex/#comment-8379</guid>
		<description>@Seth,

If you&#039;re using a Spark TabBar, I believe you can just set the &lt;code&gt;columnWidth&lt;/code&gt; property to your desired tab width, and then set the Boolean &lt;code&gt;variableColumnWidth&lt;/code&gt; property to &lt;em&gt;false&lt;/em&gt;, as seen in the following example:
&lt;pre lang=&quot;mxml&quot;&gt;

&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;s:Application xmlns:fx=&quot;http://ns.adobe.com/mxml/2009&quot;
        xmlns:s=&quot;library://ns.adobe.com/flex/spark&quot;
        xmlns:mx=&quot;library://ns.adobe.com/flex/mx&quot;&gt;
    
    &lt;s:TabBar id=&quot;tabby&quot;
              horizontalCenter=&quot;0&quot; verticalCenter=&quot;0&quot;&gt;
        &lt;s:layout&gt;
            &lt;s:HorizontalLayout gap=&quot;-1&quot; columnWidth=&quot;100&quot; variableColumnWidth=&quot;false&quot; /&gt;
        &lt;/s:layout&gt;
        &lt;s:dataProvider&gt;
            &lt;s:ArrayList source=&quot;[Boston,Chicago,Detroit,Los Angeles,New York]&quot; /&gt;
        &lt;/s:dataProvider&gt;
    &lt;/s:TabBar&gt;
    
&lt;/s:Application&gt;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p>@Seth,</p>
<p>If you&#8217;re using a Spark TabBar, I believe you can just set the <code>columnWidth</code> property to your desired tab width, and then set the Boolean <code>variableColumnWidth</code> property to <em>false</em>, as seen in the following example:</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;">&nbsp;
<span style="color: #000000;">&lt;?xml version=<span style="color: #ff0000;">&quot;1.0&quot;</span> encoding=<span style="color: #ff0000;">&quot;utf-8&quot;</span>?<span style="color: #7400FF;">&gt;</span></span>
<span style="color: #000000;"><span style="color: #7400FF;">&lt;s:Application</span> xmlns:fx=<span style="color: #ff0000;">&quot;http://ns.adobe.com/mxml/2009&quot;</span></span>
<span style="color: #000000;">        xmlns:s=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/spark&quot;</span></span>
<span style="color: #000000;">        xmlns:mx=<span style="color: #ff0000;">&quot;library://ns.adobe.com/flex/mx&quot;</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:TabBar</span> id=<span style="color: #ff0000;">&quot;tabby&quot;</span></span>
<span style="color: #000000;">              horizontalCenter=<span style="color: #ff0000;">&quot;0&quot;</span> verticalCenter=<span style="color: #ff0000;">&quot;0&quot;</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:layout</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:HorizontalLayout</span> gap=<span style="color: #ff0000;">&quot;-1&quot;</span> columnWidth=<span style="color: #ff0000;">&quot;100&quot;</span> variableColumnWidth=<span style="color: #ff0000;">&quot;false&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:layout</span><span style="color: #7400FF;">&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:dataProvider</span><span style="color: #7400FF;">&gt;</span></span>
            <span style="color: #000000;"><span style="color: #7400FF;">&lt;s:ArrayList</span> source=<span style="color: #ff0000;">&quot;[Boston,Chicago,Detroit,Los Angeles,New York]&quot;</span> <span style="color: #7400FF;">/&gt;</span></span>
        <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:dataProvider</span><span style="color: #7400FF;">&gt;</span></span>
    <span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:TabBar</span><span style="color: #7400FF;">&gt;</span></span>
&nbsp;
<span style="color: #000000;"><span style="color: #7400FF;">&lt;/s:Application</span><span style="color: #7400FF;">&gt;</span></span></pre></div></div>

<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seth</title>
		<link>http://blog.flexexamples.com/2008/10/04/setting-the-tab-width-on-a-tabbar-control-in-flex/comment-page-1/#comment-8376</link>
		<dc:creator>Seth</dc:creator>
		<pubDate>Wed, 29 Sep 2010 21:25:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/10/04/setting-the-tab-width-on-a-tabbar-control-in-flex/#comment-8376</guid>
		<description>The Spark TabBar doesn&#039;t have the &quot;tabWidth&quot; property. Any idea how to change tab width using the Spark component?</description>
		<content:encoded><![CDATA[<p>The Spark TabBar doesn&#8217;t have the &#8220;tabWidth&#8221; property. Any idea how to change tab width using the Spark component?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: deenalex</title>
		<link>http://blog.flexexamples.com/2008/10/04/setting-the-tab-width-on-a-tabbar-control-in-flex/comment-page-1/#comment-3884</link>
		<dc:creator>deenalex</dc:creator>
		<pubDate>Mon, 10 Nov 2008 07:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/10/04/setting-the-tab-width-on-a-tabbar-control-in-flex/#comment-3884</guid>
		<description>Hi peter,

      I have task to show bottom faced tab navigation, i mean opposite view of normal tab navigation. It depends on style of tab or i have to change codes in normal Tab navigation itself....

Thanks in Advance....
deenalex</description>
		<content:encoded><![CDATA[<p>Hi peter,</p>
<p>      I have task to show bottom faced tab navigation, i mean opposite view of normal tab navigation. It depends on style of tab or i have to change codes in normal Tab navigation itself&#8230;.</p>
<p>Thanks in Advance&#8230;.<br />
deenalex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dev</title>
		<link>http://blog.flexexamples.com/2008/10/04/setting-the-tab-width-on-a-tabbar-control-in-flex/comment-page-1/#comment-3885</link>
		<dc:creator>Dev</dc:creator>
		<pubDate>Thu, 23 Oct 2008 09:37:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/10/04/setting-the-tab-width-on-a-tabbar-control-in-flex/#comment-3885</guid>
		<description>I want the tabs resize to 100% when its parent (TabBar or TabNevigator) resize. In fact, I want the tabs have an identical width based on the width of their parent not the label size within the tab. How can I achieve this ? Any ideas would be appreciated</description>
		<content:encoded><![CDATA[<p>I want the tabs resize to 100% when its parent (TabBar or TabNevigator) resize. In fact, I want the tabs have an identical width based on the width of their parent not the label size within the tab. How can I achieve this ? Any ideas would be appreciated</p>
]]></content:encoded>
	</item>
</channel>
</rss>

