[TIMOB-24238] Windows: borderRadius overflow doesn't work correctly
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Open |
Resolution | Unresolved |
Affected Version/s | Release 6.0.0 |
Fix Version/s | n/a |
Components | Windows |
Labels | n/a |
Reporter | Ricardo Pereira |
Assignee | Kota Iguchi |
Created | 2016-11-18T17:11:26.000+0000 |
Updated | 2018-03-22T14:57:48.000+0000 |
Description
I've only tested in local app:
appc run -p windows -T ws-local
*test project attached*
index.xml
<Alloy>
<Window>
<View id="view"/>
</Window>
</Alloy>
index.tss
"#view":{
width:200,
height:200,
backgroundColor:"blue",
borderColor:"black",
borderWidth:3,
borderRadius:50
}
Attachments
File | Date | Size |
---|---|---|
border.png | 2017-02-08T08:22:42.000+0000 | 9419 |
Windows Tests.zip | 2016-11-18T17:11:25.000+0000 | 471859 |
test project with 3 bugs: - touchEnabled - zIndex - borderRadius
Hi [~ricardo_jcp], Thanks for reporting the issue. We are reviewing your project. We will get back to you soon. Regards, Appcelerator Support
Hi [~ricardo_jcp] We appreciate your report. To complete the report, please mention steps to reproduce the issue. We'll need following info: 1. *Reproducible steps*: The specific series of steps or actions that you took up until encountering the problem. 2. *Expected result*: What you expected would occur in the application. 3.*Actual result*: What actually occurred after the final step/action. Thanks.
In sdk 6.0.x borderRadius takes effect, but component background overflows border radius like screenshot attached in the ticket. Currently we don't have a good way to do this. We are using Xaml
Border
component but it does not show border quite well like this, I would take this is a technical limitation due to the platform component spec for now. We would like to keep this ticket open so that we can keep track on this. !border.png|thumbnail!Hi, I have the same problem on Archos 40 Titanium Android version 4.2.2 TiSDK 7.0.0 If we change the layout after rendering view, the border will be corrected ex add setTimeout(function () { view6.opacity = 0.9; }, 2000);