JohnnyOpcode / degrafa

Automatically exported from code.google.com/p/degrafa
1 stars 0 forks source link

BorderBottomRightRadius doesn't work #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a simple panel that use the following MXML and CSS syntax: 

<mx:Panel xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" 
    width="100" height="100">
</mx:Panel>

Panel
{
    border-style: solid;
    border-bottom-right-radius: 24px;
    border-bottom-left-radius: 24px;
    header-height: 0;
    border-thickness: 1;
    border-color: #000000, #000000, #000000, #000000;   
    borderSkin: ClassReference("com.degrafa.skins.CSSSkin");
}

2. Run the application.

What is the expected output? What do you see instead?
I expect the bottom right corner to be rounded by the given radius.

I actually get this error instead:
TypeError: Error #1009: Cannot access a property or method of a null 
object reference.
    at com.degrafa.geometry::AdvancedRectangle/drawBottomRightRadius()
[C:\Inetpub\wwwroot\Degrafa\com\degrafa\geometry\AdvancedRectangle.as:226]
    at com.degrafa.geometry::AdvancedRectangle/draw()
[C:\Inetpub\wwwroot\Degrafa\com\degrafa\geometry\AdvancedRectangle.as:94]
    at com.degrafa.skins::CSSSkin/updateDisplayList()
[C:\Inetpub\wwwroot\Degrafa\com\degrafa\skins\CSSSkin.as:412]
    at mx.skins::ProgrammaticSkin/validateDisplayList()
[E:\dev\flex_3_beta3
\sdk\frameworks\projects\framework\src\mx\skins\ProgrammaticSkin.as:419]
    at mx.managers::LayoutManager/validateDisplayList()
[E:\dev\flex_3_beta3
\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:600]
    at mx.managers::LayoutManager/doPhasedInstantiation()
[E:\dev\flex_3_beta3
\sdk\frameworks\projects\framework\src\mx\managers\LayoutManager.as:655]
    at Function/http://adobe.com/AS3/2006/builtin::apply()
    at mx.core::UIComponent/callLaterDispatcher2()[E:\dev\flex_3_beta3
\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8450]
    at mx.core::UIComponent/callLaterDispatcher()[E:\dev\flex_3_beta3
\sdk\frameworks\projects\framework\src\mx\core\UIComponent.as:8393]

What version of the product are you using? On what operating system?
Its the latest SWC file available on google code for Flex Builder 3 beta 3 
milestone 4. (Degrafa-.1.zip)

Original issue reported on code.google.com by bouba...@gmail.com on 21 Feb 2008 at 1:45

GoogleCodeExporter commented 8 years ago
I actually updated to the Origin Beta 2 and this is fixed.

So this issue cannot be reproduced.

Original comment by bouba...@gmail.com on 12 Mar 2008 at 3:11

GoogleCodeExporter commented 8 years ago
Part of beta 2 fixes.

Original comment by Flexible...@gmail.com on 18 Mar 2008 at 9:18