Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Set border weight on a s:Border component
Actual Results:
Border dIsplay a rounded corner.
Expected Results:
Border display a rectangle with no rounded corner
Example application :
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo">
<s:layout>
<s:VerticalLayout/>
</s:layout>
<mx:Text text="Slider Border Weight :"/>
<s:HSlider id="slider"
minimum="0"
maximum="100"
value="2"/>
<mx:Text text="Slider Border Radius :"/>
<s:HSlider id="sliderRadius"
minimum="0"
maximum="100"
value="2"/>
<s:Border id="borderTest" cornerRadius="
{sliderRadius.value}" width="250" height="250">
<s:borderStroke>
<s:SolidColorStroke id="stroke" color="#CECECE" weight="
">
</s:SolidColorStroke>
</s:borderStroke>
</s:Border>
</s:Application>