<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Setting the tick thickness on a Slider control in Flex</title>
	<link>http://blog.flexexamples.com/2008/05/06/setting-the-tick-thickness-on-a-slider-control-in-flex/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Sat, 05 Jul 2008 10:21:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2008/05/06/setting-the-tick-thickness-on-a-slider-control-in-flex/#comment-12607</link>
		<author>peterd</author>
		<pubDate>Sat, 10 May 2008 00:13:54 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/05/06/setting-the-tick-thickness-on-a-slider-control-in-flex/#comment-12607</guid>
		<description>&lt;a href="http://blog.flexexamples.com/2008/05/06/setting-the-tick-thickness-on-a-slider-control-in-flex/#comment-12574" rel="nofollow"&gt;Jolyon&lt;/a&gt;,

I've filed a bug in the public Flex bug base at &lt;a href="http://bugs.adobe.com/jira/browse/SDK-15529" rel="nofollow"&gt;&lt;u&gt;http://bugs.adobe.com/jira/browse/SDK-15529&lt;u&gt;&lt;/a&gt;.

Peter</description>
		<content:encoded><![CDATA[<p><a href="http://blog.flexexamples.com/2008/05/06/setting-the-tick-thickness-on-a-slider-control-in-flex/#comment-12574" rel="nofollow">Jolyon</a>,</p>
<p>I&#8217;ve filed a bug in the public Flex bug base at <a href="http://bugs.adobe.com/jira/browse/SDK-15529" rel="nofollow"><u><a href="http://bugs.adobe.com/jira/browse/SDK-15529" rel="nofollow">http://bugs.adobe.com/jira/browse/SDK-15529</a></u><u></u></a>.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jolyon</title>
		<link>http://blog.flexexamples.com/2008/05/06/setting-the-tick-thickness-on-a-slider-control-in-flex/#comment-12574</link>
		<author>Jolyon</author>
		<pubDate>Fri, 09 May 2008 09:53:37 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/05/06/setting-the-tick-thickness-on-a-slider-control-in-flex/#comment-12574</guid>
		<description>Visually it looks like the tick is not centered when it's drawn. ie, in your example when it gets thicker is moves to the left.

When you look at the source for Slider, HSlider's super class in the layoutTicks method there is an XOffset value which should be compensating for this. Annoyingly there's no way to extend this and fix this method as it's private.

From what I can tell, short of ripping the code out and re-writing your own, there's not a lot you can do.


Jolyon</description>
		<content:encoded><![CDATA[<p>Visually it looks like the tick is not centered when it&#8217;s drawn. ie, in your example when it gets thicker is moves to the left.</p>
<p>When you look at the source for Slider, HSlider&#8217;s super class in the layoutTicks method there is an XOffset value which should be compensating for this. Annoyingly there&#8217;s no way to extend this and fix this method as it&#8217;s private.</p>
<p>From what I can tell, short of ripping the code out and re-writing your own, there&#8217;s not a lot you can do.</p>
<p>Jolyon</p>
]]></content:encoded>
	</item>
</channel>
</rss>
