[TIMOB-5906] iOS: NavButton image missing shadow
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Low |
Status | Closed |
Resolution | Won't Do |
Resolution Date | 2020-01-09T19:27:13.000+0000 |
Affected Version/s | Release 1.7.0, Release 2.1.0 |
Fix Version/s | n/a |
Components | iOS |
Labels | api |
Reporter | Sindre Sorhus |
Assignee | Ingo Muschenetz |
Created | 2011-10-29T11:16:36.000+0000 |
Updated | 2020-01-09T19:27:13.000+0000 |
Description
The leftNavButton/rightNavButton is missing shadow when using a custom image.
The shadow is visible when using a "systemButton" icon.
!Screen Shot 2011-10-29 at 20.11.24.png!
Testcase:
Just place the "switch-language.png" and "switch-language@2x.png" in the "Resources/iphone" folder.
app.js:
var switchLanguage = Ti.UI.createButton({
image: "iphone/switch-language.png"
});
var actionButton = Ti.UI.createButton({
systemButton: Ti.UI.iPhone.SystemButton.ACTION
});
var win = Ti.UI.createWindow({
leftNavButton: switchLanguage,
rightNavButton: actionButton
});
win.open({
modal: true
});
Attachments
File | Date | Size |
---|---|---|
Screen Shot 2011-10-29 at 20.11.24.png | 2011-10-29T11:16:36.000+0000 | 37105 |
switch-language.png | 2011-10-29T11:16:36.000+0000 | 1300 |
switch-language@2x.png | 2011-10-29T11:16:36.000+0000 | 1511 |
I know this is very minor, but it makes my app look a little unprofessional since it looks a part from the right button. Can someone take a look at this?
@Sindre - Have you tried it with the latest 2.1.0 build?
Yes. Screenshot 2.1.0 build: https://img.skitch.com/20120626-j46ag3gxmdaadh9xxsmy1jbsu4.png
bump
It has been decided that this issue should be closed as “Won’t do.” This issue is out of date with our current supported SDK release (7.5.2.GA as of the date of closure), and out of date with mobile OS versions. Updating, or creating code may not reproduce the issue reported, or be a valid test case. If community members feel that the issue is still valid, please create a new ticket. Please reference this closed ticket number, include SDK used, comments, and code that demonstrates/reproduces the issue.