[TIMOB-1163] iOS: add highlightedShadowColor
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-07-25T12:22:36.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | n/a |
Reporter | Sindre Sorhus |
Assignee | Neeraj Gupta |
Created | 2011-04-15T02:45:33.000+0000 |
Updated | 2012-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.
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).
Any updates?
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.
Can use existing events to manually control this behavior (see earlier comment). Invalidating.