<?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: Reposition ScrollBars in Flex Components</title>
	<atom:link href="http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/feed/" rel="self" type="application/rss+xml" />
	<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/</link>
	<description>lulz</description>
	<lastBuildDate>Mon, 01 Mar 2010 01:42:44 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: John</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-1889</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 13 Oct 2009 14:32:35 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-1889</guid>
		<description>Have you been able to move a Datagrid&#039;s vertical scrollbar to the left side without issue? When using the method you listed above it moves the scrollbar but not the header for the scrollbar, nor does it move the other columns over. The scrollbar basically sits on top of the first rows data in a Datagrid. Any help would be great. Thank you.</description>
		<content:encoded><![CDATA[<p>Have you been able to move a Datagrid&#8217;s vertical scrollbar to the left side without issue? When using the method you listed above it moves the scrollbar but not the header for the scrollbar, nor does it move the other columns over. The scrollbar basically sits on top of the first rows data in a Datagrid. Any help would be great. Thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakub</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-1783</link>
		<dc:creator>Jakub</dc:creator>
		<pubDate>Sat, 15 Aug 2009 07:26:20 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-1783</guid>
		<description>Hi

First - sorry of my English, I don&#039;t use this language.

My question :

Hou use this example?

my class like this :

package {
	
	import mx.controls.TextArea;

	public class MyClass extends TextArea {
			
		protected override function updateDisplayList (unscaledWidth:Number, unscaledHeight:Number):void {
			super.updateDisplayList (unscaledWidth, unscaledHeight);
			if( verticalScrollBar &amp;&amp; verticalScrollBar.visible ) {
				verticalScrollBar.x = -verticalScrollBar.width;
			}
		}

	}
}


n Flex :




	
	
		
	
	
	
	




but not ovverride position scrolbar</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>First &#8211; sorry of my English, I don&#8217;t use this language.</p>
<p>My question :</p>
<p>Hou use this example?</p>
<p>my class like this :</p>
<p>package {</p>
<p>	import mx.controls.TextArea;</p>
<p>	public class MyClass extends TextArea {</p>
<p>		protected override function updateDisplayList (unscaledWidth:Number, unscaledHeight:Number):void {<br />
			super.updateDisplayList (unscaledWidth, unscaledHeight);<br />
			if( verticalScrollBar &amp;&amp; verticalScrollBar.visible ) {<br />
				verticalScrollBar.x = -verticalScrollBar.width;<br />
			}<br />
		}</p>
<p>	}<br />
}</p>
<p>n Flex :</p>
<p>but not ovverride position scrolbar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: koen</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-1221</link>
		<dc:creator>koen</dc:creator>
		<pubDate>Thu, 26 Mar 2009 15:01:50 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-1221</guid>
		<description>Hi

nice post.. I&#039;m try to get it working with flex containers but it won&#039;t work any options

regards

koen</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>nice post.. I&#8217;m try to get it working with flex containers but it won&#8217;t work any options</p>
<p>regards</p>
<p>koen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lina</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-400</link>
		<dc:creator>Lina</dc:creator>
		<pubDate>Thu, 31 Jul 2008 21:58:44 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-400</guid>
		<description>Jacob, I just wrote this simple program that uses the last version.  It creates two text areas, on with scrollbar on right (default) and one on the left (as above).

Created a Flex Project called TextAreaControl.mxml









Then created an actionscrip file to hold my custom component.

package myComponents
{
import mx.controls.TextArea;

public class MyCustomComponentTextArea extends TextArea
{
public function MyCustomComponentTextArea()
{
super();
}

protected override function updateDisplayList( unscaledWidth:Number, unscaledHeight:Number ):void
{
super.updateDisplayList( unscaledWidth, unscaledHeight );

if( verticalScrollBar &amp;&amp; verticalScrollBar.visible )
{
//verticalScrollBar.x = -verticalScrollBar.width;
verticalScrollBar.x = 0;
textField.x=verticalScrollBar.width;
}
}
}
}
</description>
		<content:encoded><![CDATA[<p>Jacob, I just wrote this simple program that uses the last version.  It creates two text areas, on with scrollbar on right (default) and one on the left (as above).</p>
<p>Created a Flex Project called TextAreaControl.mxml</p>
<p>Then created an actionscrip file to hold my custom component.</p>
<p>package myComponents<br />
{<br />
import mx.controls.TextArea;</p>
<p>public class MyCustomComponentTextArea extends TextArea<br />
{<br />
public function MyCustomComponentTextArea()<br />
{<br />
super();<br />
}</p>
<p>protected override function updateDisplayList( unscaledWidth:Number, unscaledHeight:Number ):void<br />
{<br />
super.updateDisplayList( unscaledWidth, unscaledHeight );</p>
<p>if( verticalScrollBar &#038;&#038; verticalScrollBar.visible )<br />
{<br />
//verticalScrollBar.x = -verticalScrollBar.width;<br />
verticalScrollBar.x = 0;<br />
textField.x=verticalScrollBar.width;<br />
}<br />
}<br />
}<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-399</link>
		<dc:creator>Jacob</dc:creator>
		<pubDate>Wed, 23 Jul 2008 14:07:18 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-399</guid>
		<description>Hi there,
Perhaps a stupid question, but i am wondering; Do you need to call that new class in your project?
Can you give a working example please?

Greets, Jacob
</description>
		<content:encoded><![CDATA[<p>Hi there,<br />
Perhaps a stupid question, but i am wondering; Do you need to call that new class in your project?<br />
Can you give a working example please?</p>
<p>Greets, Jacob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: craiggrummitt</title>
		<link>http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/comment-page-1/#comment-398</link>
		<dc:creator>craiggrummitt</dc:creator>
		<pubDate>Fri, 20 Jun 2008 08:25:03 +0000</pubDate>
		<guid isPermaLink="false">http://yourpalmark.com/2008/06/18/reposition-scrollbars-in-flex-components/#comment-398</guid>
		<description>nice one - was just thinking maybe to prevent it messing up the size calculations of the component you could do the following:

protected override function updateDisplayList( unscaledWidth:Number, unscaledHeight:Number ):void
{
super.updateDisplayList( unscaledWidth, unscaledHeight );
if( verticalScrollBar &amp;&amp; verticalScrollBar.visible )
{
//verticalScrollBar.x = -verticalScrollBar.width;
verticalScrollBar.x = 0;
textField.x=verticalScrollBar.width;
}
}
</description>
		<content:encoded><![CDATA[<p>nice one &#8211; was just thinking maybe to prevent it messing up the size calculations of the component you could do the following:</p>
<p>protected override function updateDisplayList( unscaledWidth:Number, unscaledHeight:Number ):void<br />
{<br />
super.updateDisplayList( unscaledWidth, unscaledHeight );<br />
if( verticalScrollBar &#038;&#038; verticalScrollBar.visible )<br />
{<br />
//verticalScrollBar.x = -verticalScrollBar.width;<br />
verticalScrollBar.x = 0;<br />
textField.x=verticalScrollBar.width;<br />
}<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
