[TIMOB-23378] Windows: Label does not clip borderRadius
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2016-05-14T03:39:07.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Windows |
Labels | n/a |
Reporter | Gary Mathews |
Assignee | Gary Mathews |
Created | 2016-05-14T03:18:37.000+0000 |
Updated | 2017-03-16T21:12:39.000+0000 |
Description
When a borderRadius is set, the Label will render through the radius.
var win = Ti.UI.createWindow({ backgroundColor: 'white' }),
label = Ti.UI.createLabel({
text: "TEST",
height: 60,
width: 60,
color: "#C41230",
borderRadius: 30,
borderWidth: 2,
borderColor: "#C41230",
backgroundColor: "#F2D0D6",
textAlign: "center",
font: {
fontSize: 20,
},
left: "10%"
});
win.add(label);
win.open();
Attachments
File | Date | Size |
---|---|---|
clip.PNG | 2016-05-14T03:19:33.000+0000 | 1654 |
Closing ticket as duplicate.