<?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 horizontal and vertical gaps between buttons in a Flex ButtonBar control</title>
	<atom:link href="http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: sampath</title>
		<link>http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/comment-page-1/#comment-10309</link>
		<dc:creator>sampath</dc:creator>
		<pubDate>Thu, 12 Jan 2012 18:12:03 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/#comment-10309</guid>
		<description>How to customize a button bar in such a way that, I can give horizontal gap between only two buttons?</description>
		<content:encoded><![CDATA[<p>How to customize a button bar in such a way that, I can give horizontal gap between only two buttons?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Grauer</title>
		<link>http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/comment-page-1/#comment-9354</link>
		<dc:creator>Josh Grauer</dc:creator>
		<pubDate>Wed, 29 Jun 2011 18:50:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/#comment-9354</guid>
		<description>Oh well...code is not going to show properly.  All I did is create a style definition and set the buttonStyleName of the button bar to the style.</description>
		<content:encoded><![CDATA[<p>Oh well&#8230;code is not going to show properly.  All I did is create a style definition and set the buttonStyleName of the button bar to the style.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Grauer</title>
		<link>http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/comment-page-1/#comment-9353</link>
		<dc:creator>Josh Grauer</dc:creator>
		<pubDate>Wed, 29 Jun 2011 18:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/#comment-9353</guid>
		<description>My kingdom for a preview button!

&lt;pre lang=&quot;mxml&quot; line=&quot;1&quot;&gt;

  .buttonStyle { paddingLeft: 4; paddingRight: 4; }



&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>My kingdom for a preview button!</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
</pre></td><td class="code"><pre class="mxml" style="font-family:monospace;">&nbsp;
  .buttonStyle { paddingLeft: 4; paddingRight: 4; }</pre></td></tr></table></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Grauer</title>
		<link>http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/comment-page-1/#comment-9352</link>
		<dc:creator>Josh Grauer</dc:creator>
		<pubDate>Wed, 29 Jun 2011 18:44:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/#comment-9352</guid>
		<description>Lets try that again...

&lt;code&gt;

  .buttonStyle { paddingLeft: 4; paddingRight: 4; }


...
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Lets try that again&#8230;</p>
<p><code></p>
<p>  .buttonStyle { paddingLeft: 4; paddingRight: 4; }</p>
<p>...<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh Grauer</title>
		<link>http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/comment-page-1/#comment-9351</link>
		<dc:creator>Josh Grauer</dc:creator>
		<pubDate>Wed, 29 Jun 2011 18:41:55 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/#comment-9351</guid>
		<description>Thank you for posting your solution, I was searching for that exact thing.  I ended up translating your code into a style declaration and applying it to my button bar:

&lt;pre lang=&quot;xml&quot; line=&quot;1&quot; escaped=&quot;&quot;&gt;

  .buttonStyle { paddingLeft: 4; paddingRight: 4; }


...
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Thank you for posting your solution, I was searching for that exact thing.  I ended up translating your code into a style declaration and applying it to my button bar:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="xml" style="font-family:monospace;">&nbsp;
  .buttonStyle { paddingLeft: 4; paddingRight: 4; }
&nbsp;
&nbsp;
...</pre></td></tr></table></div>

]]></content:encoded>
	</item>
	<item>
		<title>By: Andy</title>
		<link>http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/comment-page-1/#comment-2236</link>
		<dc:creator>Andy</dc:creator>
		<pubDate>Wed, 25 Mar 2009 18:34:09 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/#comment-2236</guid>
		<description>Just spent a few hours trying to adjust the padding of the individual buttons in a button bar inline in actionscript. This works, but it ain&#039;t that pretty:
&lt;pre class=&quot;code&quot;&gt;
var buttonStyleObj:CSSStyleDeclaration = new CSSStyleDeclaration(&quot;buttonStyleObj&quot;);
buttonStyleObj.setStyle(&quot;paddingRight&quot;, 4);
buttonStyleObj.setStyle(&quot;paddingLeft&quot;, 4);
StyleManager.setStyleDeclaration(&quot;.buttonStyle&quot;, buttonStyleObj, true);

var buttonBar:ButtonBar = new ButtonBar();
buttonBar.setStyle(&quot;buttonStyleName&quot;, &quot;buttonStyle&quot;);
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Just spent a few hours trying to adjust the padding of the individual buttons in a button bar inline in actionscript. This works, but it ain&#8217;t that pretty:</p>
<pre class="code">
var buttonStyleObj:CSSStyleDeclaration = new CSSStyleDeclaration("buttonStyleObj");
buttonStyleObj.setStyle("paddingRight", 4);
buttonStyleObj.setStyle("paddingLeft", 4);
StyleManager.setStyleDeclaration(".buttonStyle", buttonStyleObj, true);

var buttonBar:ButtonBar = new ButtonBar();
buttonBar.setStyle("buttonStyleName", "buttonStyle");
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: kathryn</title>
		<link>http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/comment-page-1/#comment-2235</link>
		<dc:creator>kathryn</dc:creator>
		<pubDate>Thu, 17 Jan 2008 21:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/01/08/setting-horizontal-and-vertical-gaps-between-buttons-in-a-flex-buttonbar-control/#comment-2235</guid>
		<description>this was very helpful, thanks!  i always forget that gaps are styles, not properties :-)</description>
		<content:encoded><![CDATA[<p>this was very helpful, thanks!  i always forget that gaps are styles, not properties :-)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

