[TIMOB-1415] Unable to Set Text Shadow on Button Text
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Low |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2017-05-01T22:48:48.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | button, feature, ios, properties, text |
Reporter | Ralf Pfeiffer |
Assignee | Ingo Muschenetz |
Created | 2011-04-15T02:51:44.000+0000 |
Updated | 2017-05-31T22:41:42.000+0000 |
Description
Buttons can be customized in a variety of ways, including repeatable backgrounds, text color, etc. But the text label's shadow declarations cannot be set.
This is an important aesthetic element when designing buttons that fit within the iPhone's visual framework.
Example:
var button = Titanium.UI.createButton({
title: 'Submit', width:100, height:30,
backgroundImage:'images/button-background.png', textAlign:'center',
color:'#666', shadowColor:'#FFF', shadowOffset:{x:0,y:1} });
shadowColor and shadowOffset should somehow be available for text and the button itself.
Thanks!
Comments
- James Wragg 2011-04-15
Would love this too - at the moment I have to create a label and add it to the button. This is currently broken in 1.5.0 if there is a background image on the button.
- James Wragg 2011-04-15
See ticket #2423
- Stephen Tramer 2011-04-15
Low-priority feature. Can be accomplished by placing a label on the button.
- Lee Morris 2017-05-01 Resolving ticket as Invalid as there is hardly any information whatsoever and this was created in April 2011 with no response since that time.