Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2022] iOS: borderColor property forces a borderWidth of 1 even when 0 is specified

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2013-05-03T17:57:11.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsn/a
ReporterBraco
AssigneeMauro Parra-Miranda
Created2013-05-03T17:34:08.000+0000
Updated2016-03-08T07:40:58.000+0000

Description

".foo": { borderColor: '#FFFFFF', borderWidth: 0, } Causes a forced "borderWidth: 1" to appear. After rendering, the border can be programmatically toggled between 0 and 1.

Comments

  1. Daniel Sefton 2013-05-03

    Hi Braco, This is probably an issue with the SDK, not Alloy -- please could you put together a simple reproducible test case in the form of an app.js? Also please state your Ti SDK version, and whether you're using Android or iOS and the version. Thanks!
  2. Braco 2013-05-03

    Hi Daniel, SDK 3.1.0.GA iOS Will work on getting an example app together, but for now it's as simple as: ".thing": { borderWidth: 0, borderColor: '#FFFFFF' }

JSON Source