Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12028] Mobileweb: View borderWidth with 'dp' dimensions does not show on Mobileweb

GitHub Issuen/a
TypeBug
PriorityLow
StatusClosed
ResolutionWon't Fix
Resolution Date2017-06-26T22:10:18.000+0000
Affected Version/sRelease 3.0.0
Fix Version/sn/a
ComponentsMobileWeb
Labelsparity
ReporterTony Lukasavage
AssigneeUnknown
Created2012-12-11T21:12:38.000+0000
Updated2018-04-04T23:20:21.000+0000

Description

problem

If the *borderWidth* property of a Titanium view is specified density independently (dp), it does not show up on Mobileweb. If you remove the *dp* suffix on the *borderWidth* property, everything works as expected. This problem also occurs on Android (TIMOB-12027). This problem does not occur on iOS.

expected behavior

The border should appear as expected whether or not density independent (dp) dimensions are specified for the *borderWidth* property.

test case

``` var win = Ti.UI.createWindow({ backgroundColor: '#fff' }); var view = Ti.UI.createView({ height: '100dp', width: '100dp', backgroundColor: '#888', borderColor: '#000', borderWidth: '3dp' // error, no border appears //borderWidth: 3 // this works as expected }); win.add(view); win.open(); [code}

Comments

  1. Lee Morris 2017-06-26

    Resolving as "Won't Fix" as MobileWeb has been deprecated.
  2. Eric Merriman 2018-04-04

    Closing as will not fix.

JSON Source