<?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: Creating fixed width buttons in a Flex ButtonBar component</title>
	<atom:link href="http://blog.flexexamples.com/2007/09/05/creating-fixed-width-buttons-in-a-flex-buttonbar-component/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/09/05/creating-fixed-width-buttons-in-a-flex-buttonbar-component/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Fri, 19 Mar 2010 20:35:16 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/09/05/creating-fixed-width-buttons-in-a-flex-buttonbar-component/comment-page-1/#comment-966</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Mon, 13 Oct 2008 14:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/05/creating-fixed-width-buttons-in-a-flex-buttonbar-component/#comment-966</guid>
		<description>jurlan,

I don&#039;t know if I understand the question. I took a screenshot of a vertical ButtonBar, set the magnification to 600% in Photoshop and each button had the same width/height. If you&#039;re seeing something different, you may want to file a bug at http://bugs.adobe.com/flex/ and include a simple test case to reproduce the issue and a screenshot of what it looks like on your system.

That said, if the question was how do you remove the rounded corners on the first/last buttons, you can set the &lt;code&gt;buttonStyleName&lt;/code&gt; and &lt;code&gt;cornerRadius&lt;/code&gt; styles:
&lt;pre class=&quot;code&quot;&gt;
&lt;mx:Style&gt;
    ButtonBar {
        buttonStyleName: buttonStylez;
    }

    .buttonStylez {
        cornerRadius: 0;
    }
&lt;/mx:Style&gt;
&lt;/pre&gt;

For another example of setting the corner radius on a ButtonBar control, see &lt;a href=&quot;http://blog.flexexamples.com/2008/01/07/setting-the-button-corner-radius-in-a-flex-buttonbar-control/&quot; rel=&quot;nofollow&quot;&gt;&lt;u&gt;&quot;Setting the button corner radius in a Flex ButtonBar control&quot;&lt;/u&gt;&lt;/a&gt;.

Peter</description>
		<content:encoded><![CDATA[<p>jurlan,</p>
<p>I don&#8217;t know if I understand the question. I took a screenshot of a vertical ButtonBar, set the magnification to 600% in Photoshop and each button had the same width/height. If you&#8217;re seeing something different, you may want to file a bug at <a href="http://bugs.adobe.com/flex/" rel="nofollow">http://bugs.adobe.com/flex/</a> and include a simple test case to reproduce the issue and a screenshot of what it looks like on your system.</p>
<p>That said, if the question was how do you remove the rounded corners on the first/last buttons, you can set the <code>buttonStyleName</code> and <code>cornerRadius</code> styles:</p>
<pre class="code">
&lt;mx:Style&gt;
    ButtonBar {
        buttonStyleName: buttonStylez;
    }

    .buttonStylez {
        cornerRadius: 0;
    }
&lt;/mx:Style&gt;
</pre>
<p>For another example of setting the corner radius on a ButtonBar control, see <a href="http://blog.flexexamples.com/2008/01/07/setting-the-button-corner-radius-in-a-flex-buttonbar-control/" rel="nofollow"><u>&#8220;Setting the button corner radius in a Flex ButtonBar control&#8221;</u></a>.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jurlan</title>
		<link>http://blog.flexexamples.com/2007/09/05/creating-fixed-width-buttons-in-a-flex-buttonbar-component/comment-page-1/#comment-967</link>
		<dc:creator>jurlan</dc:creator>
		<pubDate>Mon, 13 Oct 2008 10:26:04 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/05/creating-fixed-width-buttons-in-a-flex-buttonbar-component/#comment-967</guid>
		<description>I was wondering how I can make sure that when I use the vertical layout for the ButtonBar, that the first and the last button have the same width as the middle ones and not a few pixels less ..

Thanks</description>
		<content:encoded><![CDATA[<p>I was wondering how I can make sure that when I use the vertical layout for the ButtonBar, that the first and the last button have the same width as the middle ones and not a few pixels less ..</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>
