Can anyone lead me in the direction to changing the width and height of the slider thumb without reskinning it? I tried following Manish's suggestion in this post  and extended the mx.skins.halo.SliderThumbSkin and just set the width and height values in the constructor:

package com.mydomain.view.skins
{

import mx.skins.halo.SliderThumbSkin;

/**
 *  The skin for all the states of a thumb in a Slider.
 */
public class SliderThumbSkinLarge extends SliderThumbSkin
{
   
    /**
     *  @private
     *  Constructor.
     */
    public function SliderThumbSkinLarge()
    {
        super();
        this.width=30;
        this.height=30;
    }

}
}

My slider mxml looks like this:
<mx:VSlider thumbDownSkin="com.mydomain.view.skins.SliderThumbSkinLarge" thumbDisabledSkin="com.mydomain.view.skins.SliderThumbSkinLarge"
thumbUpSkin="com.mydomain.view.skins.SliderThumbSkinLarge" thumbOverSkin="com.mydomain.view.skins.SliderThumbSkinLarge"
tickInterval="1" snapInterval="1" ...etc/>

but I can't seem to get it to work. Any help with my skinning implementation or a solution that avoids skinning is much appreciated.

-Dustin


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to