<?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 number of visible items in a ComboBox control&#8217;s dropdown menu in Flex</title>
	<atom:link href="http://blog.flexexamples.com/2008/06/11/setting-the-number-of-visible-items-in-a-combobox-controls-dropdown-menu-in-flex/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2008/06/11/setting-the-number-of-visible-items-in-a-combobox-controls-dropdown-menu-in-flex/</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: peterd</title>
		<link>http://blog.flexexamples.com/2008/06/11/setting-the-number-of-visible-items-in-a-combobox-controls-dropdown-menu-in-flex/comment-page-1/#comment-3371</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Fri, 13 Jun 2008 16:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/06/11/setting-the-number-of-visible-items-in-a-combobox-controls-dropdown-menu-in-flex/#comment-3371</guid>
		<description>Greg,

We&#039;ll leave the bug in community status. After the bug gets enough votes, somebody (else) at Adobe will have a look at the issue and see if it is a bug or if that is expected behavior.

Actually, another solution may be to something like the following:
&lt;pre class=&quot;code&quot;&gt;
&lt;mx:LinearAxis id=&quot;yAxis&quot; title=&quot;% of e-mail users accessing e-mail{&#039;\\n&#039;}eight or more times per month&quot; /&gt;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p>Greg,</p>
<p>We&#8217;ll leave the bug in community status. After the bug gets enough votes, somebody (else) at Adobe will have a look at the issue and see if it is a bug or if that is expected behavior.</p>
<p>Actually, another solution may be to something like the following:</p>
<pre class="code">
&lt;mx:LinearAxis id="yAxis" title="% of e-mail users accessing e-mail{'\\n'}eight or more times per month" /&gt;
</pre>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://blog.flexexamples.com/2008/06/11/setting-the-number-of-visible-items-in-a-combobox-controls-dropdown-menu-in-flex/comment-page-1/#comment-3369</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Fri, 13 Jun 2008 16:30:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/06/11/setting-the-number-of-visible-items-in-a-combobox-controls-dropdown-menu-in-flex/#comment-3369</guid>
		<description>Interesting.  I hadn&#039;t thought of trying that.

Thanks for you help and quick replies!  Do I need to close that bug now, or will someone at Adobe do that?</description>
		<content:encoded><![CDATA[<p>Interesting.  I hadn&#8217;t thought of trying that.</p>
<p>Thanks for you help and quick replies!  Do I need to close that bug now, or will someone at Adobe do that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2008/06/11/setting-the-number-of-visible-items-in-a-combobox-controls-dropdown-menu-in-flex/comment-page-1/#comment-3373</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Fri, 13 Jun 2008 13:47:37 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/06/11/setting-the-number-of-visible-items-in-a-combobox-controls-dropdown-menu-in-flex/#comment-3373</guid>
		<description>Greg,

Thanks a lot. I commented on the bug with two possible workarounds:
&lt;blockquote&gt;
attached workaround.mxml with two possible workarounds.

workaround #1 -- define the axis title in ActionScript:
&lt;pre class=&quot;code&quot;&gt;
[Bindable]
public var str:String = &quot;% of e-mail users accessing e-mail&quot; + &quot;\\n&quot; + &quot;eight or more times per month&quot;;
&lt;/pre&gt;

workaround#2 -- define the axis title in MXML using &lt;mx:String /&gt;:
&lt;pre class=&quot;code&quot;&gt;
&lt;mx:String id=&quot;str&quot;&gt;% of e-mail users accessing e-mail
eight or more times per month&lt;/mx:String&gt;
&lt;/pre&gt;

Finally, assign the title title to the LinearAxis using binding:
&lt;pre class=&quot;code&quot;&gt;
&lt;mx:verticalAxis&gt;
    &lt;mx:LinearAxis id=&quot;yAxis&quot; title=&quot;{str}&quot; /&gt;
&lt;/mx:verticalAxis&gt;
&lt;/pre&gt;

&lt;/blockquote&gt;

Peter</description>
		<content:encoded><![CDATA[<p>Greg,</p>
<p>Thanks a lot. I commented on the bug with two possible workarounds:</p>
<blockquote><p>
attached workaround.mxml with two possible workarounds.</p>
<p>workaround #1 &#8212; define the axis title in ActionScript:</p>
<pre class="code">
[Bindable]
public var str:String = "% of e-mail users accessing e-mail" + "\\n" + "eight or more times per month";
</pre>
<p>workaround#2 &#8212; define the axis title in MXML using &lt;mx:String /&gt;:</p>
<pre class="code">
&lt;mx:String id="str"&gt;% of e-mail users accessing e-mail
eight or more times per month&lt;/mx:String&gt;
</pre>
<p>Finally, assign the title title to the LinearAxis using binding:</p>
<pre class="code">
&lt;mx:verticalAxis&gt;
    &lt;mx:LinearAxis id="yAxis" title="{str}" /&gt;
&lt;/mx:verticalAxis&gt;
</pre>
</blockquote>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://blog.flexexamples.com/2008/06/11/setting-the-number-of-visible-items-in-a-combobox-controls-dropdown-menu-in-flex/comment-page-1/#comment-3372</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Fri, 13 Jun 2008 13:18:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/06/11/setting-the-number-of-visible-items-in-a-combobox-controls-dropdown-menu-in-flex/#comment-3372</guid>
		<description>Thanks for the quick reply.  Here&#039;s the link to the bug.  https://bugs.adobe.com/jira/browse/FLEXDMV-1783  I hope I&#039;ve provided enough information.</description>
		<content:encoded><![CDATA[<p>Thanks for the quick reply.  Here&#8217;s the link to the bug.  <a href="https://bugs.adobe.com/jira/browse/FLEXDMV-1783" rel="nofollow">https://bugs.adobe.com/jira/browse/FLEXDMV-1783</a>  I hope I&#8217;ve provided enough information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2008/06/11/setting-the-number-of-visible-items-in-a-combobox-controls-dropdown-menu-in-flex/comment-page-1/#comment-3374</link>
		<dc:creator>peterd</dc:creator>
		<pubDate>Thu, 12 Jun 2008 19:10:05 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/06/11/setting-the-number-of-visible-items-in-a-combobox-controls-dropdown-menu-in-flex/#comment-3374</guid>
		<description>Greg,

Interesting, can you please file a bug at http://bugs.adobe.com/flex/ (please include a simple test case, if possible -- it makes it a lot easier) and post the bug number here and a few of us here can subscribe and/or vote.

Thanks,
Peter</description>
		<content:encoded><![CDATA[<p>Greg,</p>
<p>Interesting, can you please file a bug at <a href="http://bugs.adobe.com/flex/" rel="nofollow">http://bugs.adobe.com/flex/</a> (please include a simple test case, if possible &#8212; it makes it a lot easier) and post the bug number here and a few of us here can subscribe and/or vote.</p>
<p>Thanks,<br />
Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Greg</title>
		<link>http://blog.flexexamples.com/2008/06/11/setting-the-number-of-visible-items-in-a-combobox-controls-dropdown-menu-in-flex/comment-page-1/#comment-3370</link>
		<dc:creator>Greg</dc:creator>
		<pubDate>Thu, 12 Jun 2008 19:03:45 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2008/06/11/setting-the-number-of-visible-items-in-a-combobox-controls-dropdown-menu-in-flex/#comment-3370</guid>
		<description>Unrelated to this post, but I&#039;m not sure how to contact you via Email.  Anyway, I&#039;m using the charting components provided with Flex Builder 3 Pro and can&#039;t seem to get the y-axis title to display multi-line.  I traced the code back to the ChartLabel.as class provided in the sdk and it shows that when the label is created, multi-line is set to true.  Is there a special string I need to pass with the title to make it use 2 lines?

The strings I&#039;ve tried are...

&quot;% of e-mail users accessing e-mail eight or more times per month&quot;
&quot;% of e-mail users accessing e-mail\neight or more times per month&quot;
&quot;% of e-mail users accessing e-mail&lt;br&gt;eight or more times per month&quot;

...but each still displays on a single line.</description>
		<content:encoded><![CDATA[<p>Unrelated to this post, but I&#8217;m not sure how to contact you via Email.  Anyway, I&#8217;m using the charting components provided with Flex Builder 3 Pro and can&#8217;t seem to get the y-axis title to display multi-line.  I traced the code back to the ChartLabel.as class provided in the sdk and it shows that when the label is created, multi-line is set to true.  Is there a special string I need to pass with the title to make it use 2 lines?</p>
<p>The strings I&#8217;ve tried are&#8230;</p>
<p>&#8220;% of e-mail users accessing e-mail eight or more times per month&#8221;<br />
&#8220;% of e-mail users accessing e-mail\neight or more times per month&#8221;<br />
&#8220;% of e-mail users accessing e-mail&lt;br&gt;eight or more times per month&#8221;</p>
<p>&#8230;but each still displays on a single line.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

