Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1163] iOS: add highlightedShadowColor

GitHub Issuen/a
TypeNew Feature
PriorityLow
StatusClosed
ResolutionInvalid
Resolution Date2012-07-25T12:22:36.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsn/a
ReporterSindre Sorhus
AssigneeNeeraj Gupta
Created2011-04-15T02:45:33.000+0000
Updated2012-07-26T22:25:47.000+0000

Description

This needs to be added.

It's impossible now to use shadow on tableview if you use selectionStyle:Titanium.UI.iPhone.TableViewCellSelectionStyle.BLUE or an other color that needs a different text color when highlighted, because you need a different shadow color when highlighted.

It would be nice though, if highlighted could be an event, so that we could change any tablerow properties when hightlighted, like if we use background images we could change those.

Comments

  1. James K 2011-04-15

    I second this.

    If nothing else, the shadow should at least be removed while the label is highlighted (see http://stackoverflow.com/questions/1184014">here).

  2. Sindre Sorhus 2012-01-02

    Any updates?
  3. Stephen Tramer 2012-01-03

    Requires a test case demonstrating the described issue. There are already events for when a row becomes "highlighted" - the row receives the 'touchstart' event, followed by 'click', followed by 'touchend' when the row is no longer highlighted. There is a Kitchen Sink example which probably shows the requested behavior: KS->Base UI->Table View->Touch Events.
  4. Stephen Tramer 2012-07-25

    Can use existing events to manually control this behavior (see earlier comment). Invalidating.

JSON Source