Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19317] iOS: Navigation Buttons have different margins when using title or backgroundImage

GitHub Issuen/a
TypeBug
PriorityNone
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsios
ReporterPeter Weilnau
AssigneeUnknown
Created2015-07-27T15:02:30.000+0000
Updated2018-02-28T19:55:45.000+0000

Description

In xml create a NavigationWindow with a Left and Right Nav Button. Set the title for one and the backgroundImage for the other. The margins do not match and are very difficult to align. The margin when using title appears to be the appropriate size. See sample xml and tss to recreate.

Attachments

FileDateSize
index.tss2015-07-27T15:01:23.000+0000204
index.xml2015-07-27T15:01:17.000+0000357
Screen Shot 2015-07-29 at 12.12.43 PM.png2015-07-29T17:27:40.000+000024469
Screen Shot 2015-07-30 at 2.48.28 PM.png2015-07-30T09:09:27.000+000017904
Screen Shot 2015-07-30 at 2.52.13 PM.png2015-07-30T09:09:28.000+000018975
Screen Shot 2015-07-30 at 2.59.46 PM.png2015-07-30T09:09:32.000+000022371

Comments

  1. Peter Weilnau 2015-07-29

    I don't understand exactly what you are saying. Compare the space to the edge of the screen. When no image is used at all, there is a much smaller gap than when a backgroundImage is applied: !Screen Shot 2015-07-29 at 12.12.43 PM.png|thumbnail! Trying to get a button using a backgroundImage to have a smaller space to the edge of the screen from the image (to match what is seen with just text and no image) is extremely difficult.

JSON Source