Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2831] Refresh button icon not vertically centered

GitHub Issuen/a
TypeBug
Priorityn/a
StatusClosed
ResolutionNeeds more info
Resolution Date2011-12-26T05:19:45.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsTitanium SDK & CLI
Labelsalignment, button, icon, mobile, systembutton
ReporterHarry Park
AssigneePaul Dowsett
Created2011-10-24T10:25:25.000+0000
Updated2016-03-08T07:47:45.000+0000

Description

Creating a systemButton in the nav bar, the refresh icon isn't properly vertically centered. The Head of the arrow shouldn't touch the midline of the button as show with the overlay gloss effect. I've attached an image of the icon. I've also noticed this with other icons I've used in a button, but this was pretty noticeable in a systemButton.
var refreshButton = Ti.UI.createButton({
   systemButton:Titanium.UI.iPhone.SystemButton.REFRESH,
});
	
win.rightNavButton = refreshButton; 
I've attached an image which compares the Titanium version versus what it should look like.

Attachments

FileDateSize
icon vertical offset problem.png2011-10-24T10:25:25.000+000019020

Comments

  1. Paul Dowsett 2011-12-26

    Thanks for raising this ticket. In order for me to escalate it to the core team, all the fields must be complete. Please check it against the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist), and add any missing information. Furthermore, a test case must run without modification, as per the [Creating a Test Case](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-CreatingaTestCase) section. I will close this for now. Please reopen it once it is complete, and I will move it to the main project. Cheers
  2. Paul Dowsett 2012-02-17

    Closing due to inactivity. If this issue still exists, please raise a new ticket, including all the information in the [JIRA Ticket Checklist](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report#HowtoSubmitaBugReport-JIRATicketChecklist) to ensure that we can escalate it quickly. Read [How to Submit a Bug Report](https://wiki.appcelerator.org/display/guides/How+to+Submit+a+Bug+Report) if you have not read it before, and always start a ticket using the [JIRA Ticket Template](https://wiki.appcelerator.org/display/guides/JIRA+Ticket+Template). Thanks in advance

JSON Source