Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23658] Windows: Ti.UI.Label.border* properties do not work when not using width and height

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2016-07-22T07:46:44.000+0000
Affected Version/sRelease 5.4.0
Fix Version/sRelease 6.0.0
ComponentsWindows
Labelsn/a
ReporterGary Mathews
AssigneeGary Mathews
Created2016-07-19T20:20:25.000+0000
Updated2016-09-06T15:11:32.000+0000

Description

Titanium.UI.Label disappears if any border* properties are used and width and height are not defined.
var win = Ti.UI.createWindow({backgroundColor: 'red'}),
    lbl = Ti.UI.createLabel({
        backgroundColor: 'orange',
        borderWidth: 5,
        borderColor: 'yellow',
        borderRadius: 5,
        text:'TEST TEXT'
    });
win.add(lbl);
win.open();

Comments

  1. Gary Mathews 2016-07-21

    master: https://github.com/appcelerator/titanium_mobile_windows/pull/785
  2. Ewan Harris 2016-09-06

    Verified using: OS: Microsoft Windows 10 Pro 10.0.14393 Appc core: 6.0.0-38 Appc NPM: 4.2.8-6 Ti SDK: 6.0.0.v20160904203840 Lumia 930: 10.0 Label is now shown when using border properties without width and height Closing ticket

JSON Source