History | Log In     View a printable version of the current page.  
Issue Details (XML)

Key: SDK-15472
Type: Bug Bug
Status: Internal Review Internal Review
Priority: None None
Assignee: Ella Mitelman
Reporter: nicholas
Votes: 0
Watchers: 2
Operations

If you were logged in you would be able to see more operations.
Flex SDK

Setting minimum/maximum in Slider cause ticks to be created

Created: 05/06/08 01:55 PM   Updated: Friday 01:26 PM
Component/s: mx: Slider
Security Level: Public (All JIRA Users )

File Attachments: 1. Text File HSlider_tickOffset_test.mxml (0.4 kb)
2. File HSlider_tickOffset_test.swf (217 kb)

Image Attachments:

1. screenshot-1.jpg
(4 kb)
Issue Links:
Duplicate
 
This issue is duplicated by:
SDK-15471 Setting minimum/maximum value on HSli... None Closed

Severity: Incorrectly Functioning
Reproducibility: Every Time
Discoverability: Medium
Found in Version: SDK Flex 3 (Released)
Affected OS(s): All OS Platforms - All
Steps to Reproduce:
Steps to reproduce:
Use the following component:
      <mx:HBox backgroundColor="haloOrange">
            <mx:HSlider minimum="0" maximum="1"/>
      </mx:HBox>
Notice it is oversized on the top.

in Slider.as the setters for minimum and maximum set the variable ticksChanged to true which then causes ticks to be created.
commitProperties then checks this:
if (ticksChanged)
{
     ticksChanged = false;
     createTicks();
}
createTicks blindly creates the ticks. I think the createTicks should be changed to ensure the tickLength style is non zero before creating the ticks.
Language Found: English
Bugbase Id: none
Triaged: Yes
Regression: No
QA Owner: Ella Mitelman
Participants: Ella Mitelman and nicholas


 All   Comments      Sort Order:
Ella Mitelman - [05/09/08 01:26 PM ]
Cosmetic issue