Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-3409] BORDERSTYLE_ROUNDED causes TextField backgroundColor to be ignored

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionDuplicate
Resolution Date2016-12-09T17:16:45.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterDavidTx
AssigneeIngo Muschenetz
Created2011-04-15T03:43:56.000+0000
Updated2017-03-14T22:11:37.000+0000

Description

Running on iOS 4.3 Simulator, with Titanium Mobile 1.6.1.

The following code generates a small TextField with white text on black background. Uncomment the borderStyle property and the field becomes white.

noteField = Ti.UI.createTextField({
    left : 30, width : 50, top : 35, height : 30,
    color : '#FFF',
    backgroundColor : '#222',
    borderRadius : 10.0,
    paddingLeft : 5.0,
  //borderStyle : Ti.UI.INPUT_BORDERSTYLE_ROUNDED
});

Comments

  1. Hans Knöchel 2016-12-09

    Duplicate of TIMOB-24203
  2. Lee Morris 2017-03-14

    Closing ticket as duplicate.

JSON Source