Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23378] Windows: Label does not clip borderRadius

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionDuplicate
Resolution Date2016-05-14T03:39:07.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsWindows
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2016-05-14T03:18:37.000+0000
Updated2017-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

FileDateSize
clip.PNG2016-05-14T03:19:33.000+00001654

Comments

  1. Lee Morris 2017-03-16

    Closing ticket as duplicate.

JSON Source