Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23374] Windows: Label backgroundColor cut through border with radius

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2016-05-14T00:49:38.000+0000
Affected Version/sRelease 5.3.0
Fix Version/sRelease 5.3.0
ComponentsWindows
Labelsqe-5.3.0
ReporterKota Iguchi
AssigneeChristopher Williams
Created2016-05-13T03:39:44.000+0000
Updated2016-06-01T06:56:12.000+0000

Description

Label doesn't render backgroundColor correctly when use with borderRadius. It's like background "cut through" the border (see screenshot).
var win = Ti.UI.createWindow({ backgroundColor: 'white' });
var view = Ti.UI.createLabel({
    text: "ABC",
    color: "#C41230",
    borderRadius: 30,
    borderWidth: 2,
    borderColor: "#C41230",
    backgroundColor: "#F2D0D6",
    textAlign: "center",
    width: 100
});
win.add(view);
win.open();
**actual** !Actual.PNG|thumbnail!

Attachments

FileDateSize
Actual.PNG2016-05-13T03:39:24.000+00002107

Comments

  1. Josh Longton 2016-05-18

    Verified as fixed. Tested on: Nokia Lumia 928 (8.1) Windows Simulator (8.1) Microsoft Lumia 640 (10) Windows Simulator (10) Windows 10 Studio: 4.6.0.201605180604 Ti SDK: 5.3.0.v20160516040258 Appc NPM: 4.2.5-5 App CLI: 5.3.0-45 Node v0.12.7 Closing Ticket.

JSON Source