<?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: Changing text alignment in an Flex Accordion header</title>
	<atom:link href="http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Fri, 19 Mar 2010 13:47:58 +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/13/changing-text-alignment-in-an-flex-accordion-header/comment-page-1/#comment-1072</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Fri, 05 Sep 2008 23:50:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/#comment-1072</guid>
		<description>nate haskins,

The code blocks were the default &lt;pre&gt; blocks for the Redoable WordPress theme. You can download the theme from http://www.deanjrobinson.com/wordpress/redoable/ and view the CSS code.

Peter</description>
		<content:encoded><![CDATA[<p>nate haskins,</p>
<p>The code blocks were the default &lt;pre&gt; blocks for the Redoable WordPress theme. You can download the theme from <a href="http://www.deanjrobinson.com/wordpress/redoable/" rel="nofollow">http://www.deanjrobinson.com/wordpress/redoable/</a> and view the CSS code.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nate haskins</title>
		<link>http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/comment-page-1/#comment-1071</link>
		<dc:creator>nate haskins</dc:creator>
		<pubDate>Fri, 05 Sep 2008 23:22:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/#comment-1071</guid>
		<description>Hi thanks for the example it was quite helpful.... i was wondering how do you get those nice blocks in your posts for posting the code in????? thanks!</description>
		<content:encoded><![CDATA[<p>Hi thanks for the example it was quite helpful&#8230;. i was wondering how do you get those nice blocks in your posts for posting the code in????? thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted</title>
		<link>http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/comment-page-1/#comment-1068</link>
		<dc:creator>Ted</dc:creator>
		<pubDate>Sun, 28 Oct 2007 16:14:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/#comment-1068</guid>
		<description>Thanks for the detailed reply..

I found it strange when my changes were reflected in Flex Builder and not on my compiled swf..

By the way, am i right to say that (for Flex 3) all headerStyles are inherited from my header renderer, whether default(Button) or not?</description>
		<content:encoded><![CDATA[<p>Thanks for the detailed reply..</p>
<p>I found it strange when my changes were reflected in Flex Builder and not on my compiled swf..</p>
<p>By the way, am i right to say that (for Flex 3) all headerStyles are inherited from my header renderer, whether default(Button) or not?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/comment-page-1/#comment-1070</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Sun, 28 Oct 2007 15:00:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/#comment-1070</guid>
		<description>Ted,

Glad you asked. If you head over to the &lt;a href=&quot;http://livedocs.adobe.com/labs/flex3/langref/&quot; rel=&quot;nofollow&quot;&gt;&lt;u&gt;Flex 3 Beta LiveDocs&lt;u&gt;&lt;/a&gt;, you can either check out the &lt;a href=&quot;http://livedocs.adobe.com/labs/flex3/langref/mx/containers/Accordion.html&quot; rel=&quot;nofollow&quot;&gt;&lt;u&gt;Accordion&lt;/u&gt;&lt;/a&gt; page which will note whether a method, property, or style is deprecated, or there is a super-handy &lt;a href=&quot;http://livedocs.adobe.com/labs/flex3/langref/deprecated.html&quot; rel=&quot;nofollow&quot;&gt;&quot;&lt;u&gt;List of deprecated elements&lt;/u&gt;&quot;&lt;/a&gt; appendix which lists all deprecated items on a single page.

Oh, and to answer your question, if you want to specify Accordion header leftPadding [in Flex 3], you can use something like the following:
&lt;pre class=&quot;code&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;
        layout=&quot;vertical&quot;&gt;

    &lt;mx:Style&gt;
        .accHeader {
            paddingLeft: 130; /* pixels */
        }
    &lt;/mx:Style&gt;

    &lt;mx:Accordion headerStyleName=&quot;accHeader&quot;
            width=&quot;100%&quot;
            height=&quot;100%&quot;&gt;
        &lt;mx:VBox label=&quot;One&quot; /&gt;
        &lt;mx:VBox label=&quot;Two&quot; /&gt;
        &lt;mx:VBox label=&quot;Three&quot; /&gt;
        &lt;mx:VBox label=&quot;Four&quot; /&gt;
    &lt;/mx:Accordion&gt;

&lt;/mx:Application&gt;
&lt;/pre&gt;

For more information, see &lt;a href=&quot;http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/&quot; rel=&quot;nofollow&quot;&gt;Customizing the Accordion header in Flex 3&lt;/a&gt;.

Hope that helps,

Peter</description>
		<content:encoded><![CDATA[<p>Ted,</p>
<p>Glad you asked. If you head over to the <a href="http://livedocs.adobe.com/labs/flex3/langref/" rel="nofollow"><u>Flex 3 Beta LiveDocs</u><u></u></a>, you can either check out the <a href="http://livedocs.adobe.com/labs/flex3/langref/mx/containers/Accordion.html" rel="nofollow"><u>Accordion</u></a> page which will note whether a method, property, or style is deprecated, or there is a super-handy <a href="http://livedocs.adobe.com/labs/flex3/langref/deprecated.html" rel="nofollow">&#8220;<u>List of deprecated elements</u>&#8220;</a> appendix which lists all deprecated items on a single page.</p>
<p>Oh, and to answer your question, if you want to specify Accordion header leftPadding [in Flex 3], you can use something like the following:</p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"&gt;

    &lt;mx:Style&gt;
        .accHeader {
            paddingLeft: 130; /* pixels */
        }
    &lt;/mx:Style&gt;

    &lt;mx:Accordion headerStyleName="accHeader"
            width="100%"
            height="100%"&gt;
        &lt;mx:VBox label="One" /&gt;
        &lt;mx:VBox label="Two" /&gt;
        &lt;mx:VBox label="Three" /&gt;
        &lt;mx:VBox label="Four" /&gt;
    &lt;/mx:Accordion&gt;

&lt;/mx:Application&gt;
</pre>
<p>For more information, see <a href="http://blog.flexexamples.com/2007/10/26/customizing-the-accordion-header-in-flex-3/" rel="nofollow">Customizing the Accordion header in Flex 3</a>.</p>
<p>Hope that helps,</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ted</title>
		<link>http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/comment-page-1/#comment-1069</link>
		<dc:creator>Ted</dc:creator>
		<pubDate>Sun, 28 Oct 2007 09:09:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/#comment-1069</guid>
		<description>Hi peter,

How can one find the deprecated styles for the header Style? i realised that paddingLeft does not register when i specify it in my header style.

I almost thought that it was a bug when i see it being reflected on my Flex Builder. Or am i wrong?</description>
		<content:encoded><![CDATA[<p>Hi peter,</p>
<p>How can one find the deprecated styles for the header Style? i realised that paddingLeft does not register when i specify it in my header style.</p>
<p>I almost thought that it was a bug when i see it being reflected on my Flex Builder. Or am i wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reza.h</title>
		<link>http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/comment-page-1/#comment-1067</link>
		<dc:creator>Reza.h</dc:creator>
		<pubDate>Sat, 15 Sep 2007 20:10:36 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/#comment-1067</guid>
		<description>thanks peter
 I using flex 2.1</description>
		<content:encoded><![CDATA[<p>thanks peter<br />
 I using flex 2.1</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/comment-page-1/#comment-1066</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Sat, 15 Sep 2007 18:14:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/#comment-1066</guid>
		<description>Reza.h,

Interesting, are you using Flex 201 or Flex 3 Beta?

Peter</description>
		<content:encoded><![CDATA[<p>Reza.h,</p>
<p>Interesting, are you using Flex 201 or Flex 3 Beta?</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Reza.h</title>
		<link>http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/comment-page-1/#comment-1065</link>
		<dc:creator>Reza.h</dc:creator>
		<pubDate>Sat, 15 Sep 2007 15:53:12 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/#comment-1065</guid>
		<description>hi peter
Thanks for your post
When i try to compile your code, this error shown :
1118: Implicit coercion of a value with static type flash.events:Event to a possibly unrelated type mx.events:ListEvent.</description>
		<content:encoded><![CDATA[<p>hi peter<br />
Thanks for your post<br />
When i try to compile your code, this error shown :<br />
1118: Implicit coercion of a value with static type flash.events:Event to a possibly unrelated type mx.events:ListEvent.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/comment-page-1/#comment-1064</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Fri, 14 Sep 2007 14:00:48 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/#comment-1064</guid>
		<description>Aasim,

I haven&#039;t tried either technique (yet), but I&#039;m sure you could either extend the AccordionHeader class (in the mx.containers.accordionClasses package -- see &lt;a href=&quot;http://livedocs.adobe.com/labs/flex/3/langref/mx/containers/accordionClasses/AccordionHeader.html&quot; rel=&quot;nofollow&quot;&gt;Flex 3 Beta LiveDocs&lt;/a&gt;) and add whatever functionality you want, or possibly create a custom renderer of sorts.

You can find one example of the latter method (custom renderer) over at jlafferty&#039;s blog &quot;&lt;u&gt;&lt;a href=&quot;http://butterfliesandbugs.wordpress.com/2007/07/20/using-a-headerrenderer-for-an-accordion/&quot; rel=&quot;nofollow&quot;&gt;Using a headerRenderer for an Accordion&lt;/a&gt;&lt;/u&gt;&quot;.

Sorry,
Peter</description>
		<content:encoded><![CDATA[<p>Aasim,</p>
<p>I haven&#8217;t tried either technique (yet), but I&#8217;m sure you could either extend the AccordionHeader class (in the mx.containers.accordionClasses package &#8212; see <a href="http://livedocs.adobe.com/labs/flex/3/langref/mx/containers/accordionClasses/AccordionHeader.html" rel="nofollow">Flex 3 Beta LiveDocs</a>) and add whatever functionality you want, or possibly create a custom renderer of sorts.</p>
<p>You can find one example of the latter method (custom renderer) over at jlafferty&#8217;s blog &#8220;<u><a href="http://butterfliesandbugs.wordpress.com/2007/07/20/using-a-headerrenderer-for-an-accordion/" rel="nofollow">Using a headerRenderer for an Accordion</a></u>&#8220;.</p>
<p>Sorry,<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aasim</title>
		<link>http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/comment-page-1/#comment-1063</link>
		<dc:creator>Aasim</dc:creator>
		<pubDate>Fri, 14 Sep 2007 06:59:23 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/09/13/changing-text-alignment-in-an-flex-accordion-header/#comment-1063</guid>
		<description>Can we add button / text box in the accordion header? similar to the kind we can do to a panel by extending it.</description>
		<content:encoded><![CDATA[<p>Can we add button / text box in the accordion header? similar to the kind we can do to a panel by extending it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
