[TIMOB-24847] Windows: borderRadius does not work with text values
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2017-07-05T20:45:16.000+0000 |
| Affected Version/s | Release 6.1.0 |
| Fix Version/s | Release 6.2.0 |
| Components | Windows |
| Labels | n/a |
| Reporter | Gary Mathews |
| Assignee | Kota Iguchi |
| Created | 2017-06-19T11:29:35.000+0000 |
| Updated | 2017-08-09T18:22:52.000+0000 |
Description
- Defining a
borderRadius with a text value such as 3dp causes an unexpected exception
var win = Ti.UI.createWindow(),
lbl = Ti.UI.createLabel({
text: 'TEST',
borderRadius: '3dp', // this causes a crash
borderWidth: '1dp'
});
win.add(lbl);
win.open();
Confirmed that this issue is not specific to
Labelbut affecting entire Views.var win = Ti.UI.createWindow({backgroundColor:'green'}), lbl = Ti.UI.createView({ borderRadius: '3dp', borderWidth: '1dp', borderColor: 'red', backgroundColor:'blue' }); win.add(lbl); win.open();https://github.com/appcelerator/titanium_mobile_windows/pull/1017
Verified fix in SDK Version 6.2.0.v20170808012225 and SDK Version 7.0.0.v20170808071205. Test and other information can be found at: https://github.com/appcelerator/titanium_mobile_windows/pull/1017