Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-21765

setting borderWeight always display a rounded corner on s:Border element (even if cornerRadius is set to 0)

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • Adobe Flex SDK Previous
    • None
    • Spark: BorderContainer
    • 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="

      {slider.value}

      ">
      </s:SolidColorStroke>
      </s:borderStroke>
      </s:Border>
      </s:Application>

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment