Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-238] Background Images/Color on TextFields

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T02:25:58.000+0000
Affected Version/sn/a
Fix Version/sBacklog
ComponentsiOS
Labelsn/a
ReporterNolan Wright
AssigneeBlain Hamon
Created2011-04-15T02:25:57.000+0000
Updated2017-03-02T18:31:35.000+0000

Description

don't work when the text field has a rounded border

Comments

  1. Blain Hamon 2011-04-15

    Unfortunately, this is due to the iPhone's implementation of textFields. Namely, the rounded border IS a background image. More specifically, the white area within is the background image. The native backgroundColor is only visible at the edges. To reflect this, borderColor is the value used.

    The workaround is have borderStyle be none, and provide your own backgroundImage and disabledBackgroundImage with stretchable images with the rounded edges baked in.

    Proposing to set the state to invalid (IE, declare rounded border conflicts with background image), but leaving open for now.

  2. Blain Hamon 2011-04-15

    Talked with Nolan. Workaround is sufficient.

  3. Lee Morris 2017-03-02

    Closing as invalid.

JSON Source