tickValues let you achieve what you want, but the labels are still misaligned.
If we had a labelFunction method, this could have been achieved.
<?xml version="1.0" encoding="utf-8"?>
<mx:Panel>
<mx:HSlider id="hSlider" minimum="0" maximum="90"
dataTipPlacement="top"
tickColor="black"
snapInterval="15"
showDataTip="true"
allowTrackClick="true"
liveDragging="true"
tickValues="[15,30,45,60,90]"
/>
</mx:Panel>
</mx:Application>
Regards
Harjot Narula
________________________________
From: deepa <[email protected]>
To: Flex India Community <[email protected]>
Sent: Monday, March 29, 2010 9:37:55
Subject: [flex_india:29437] Controlling the values in numeric stepper
Hi,
I want to control the values in numeric stepper, for example if have
values like 15, 30, 45, 60, 90.
Here I am missing 75 after 60, otherwise the stepper size would be 15.
Is it possible to give values like this in numeric stepper.
I want to control the values I show to the user, are there any other
controls like the stepper/slider that work well.
Thanks.
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.
Get your new Email address!
Grab the Email name you've always wanted before someone else does!
http://mail.promotions.yahoo.com/newdomains/aa/
--
You received this message because you are subscribed to the Google Groups "Flex
India Community" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/flex_india?hl=en.