Hey Clint,

That is kind of strange isn't it.  However, it looks like if you apply a width and height property to the slidebar instance inside the controlbar it renders properly.

The following shows nicely for me...

<mx:ControlBar height="50" >
                <mx:Label text="Price range" />
                <mx:HSlider snapInterval="2" maximum="100"
tickInterval="25" labels="['0','100']" height="100%" width="25%" />
        </mx:ControlBar>


HTH,

Brendan

On 4/14/06, Clint Willard <[EMAIL PROTECTED] > wrote:
Have you seen this problem? My HSlider in the ControlBar of my Panel
doesn't show the ticks at all and the labels are bunched together on
the left hand side below the bar.

I have tried everything and have look in the documentation, nothing.
The slider does work correctly outside the ControlBar.

<?xml version="1.0" encoding="utf-8"?>
<mx:Panel xmlns:mx="http://www.macromedia.com/2003/mxml"
width="100%" height="100%" title="Product Catalog">
        <mx:HSlider maximum="100" />
    <mx:HSlider snapInterval="2" maximum="100" />
        <mx:HSlider snapInterval="2" maximum="100" tickInterval="25"
labels="['0','100']" />
        <mx:ControlBar height="50" marginTop="30">
                <mx:Label text="Price range" />
                <mx:HSlider snapInterval="2" maximum="100"
tickInterval="25" labels="['0','100']" />
        </mx:ControlBar>
</mx:Panel>






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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/






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




YAHOO! GROUPS LINKS




Reply via email to