Closed Bug 1164646 Opened 10 years ago Closed 10 years ago

Share and Bookmark icons are larger than the rest of the nav icons

Categories

(Firefox for iOS :: Browser, defect)

Other
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fennec + ---

People

(Reporter: tecgirl, Assigned: st3fan)

References

Details

(Whiteboard: noteworthy)

Attachments

(3 files)

using today's master (Build 15), the Share and Bookmark icons are too large. They should balance the vertical height of the other icons.
Summary: Share and Bookmark icons are how huge → Share and Bookmark icons are larger than the rest of the nav icons
Update, it looks as if Share and Bookmark are displaying normally, and the Nav icons have been manually adjusted. We should replace these icons with correctly-sized assets (and confirm Universal indeed works on iPad).
tracking-fennec: --- → ?
Update #2, these icons show large after rotation (portrait > landscape > portrait)
possibly related to bug 1162268
See Also: → 1162268
Assignee: nobody → sarentz
tracking-fennec: ? → +
I tried several approaches to this, including implementing callbacks to have an opportunity to change the buttons `contentEdgeInsets` property based on the current `UITraitCollection`. But .. I decided that was all too complicated. The actual problem here is that we should not use the `contentEdgeInsets` to scale the button images. It is the wrong approach. So what I have done is simply remove the calls where we change the `contentEdgeInsets`. This means that this is now an asset problem. The icons are obviously a bit too big currently so I will file a new bug to ask for two icon sets (or one set with a scale factor for when we display them in the bottom bar - which I think displays a smaller version).
Attachment #8613673 - Flags: review?(sleroux)
Depends on: 1170292
Whiteboard: noteworthy
Comment on attachment 8613673 [details] [review] PR: https://github.com/mozilla/firefox-ios/pull/534 I agree - this is much better. Makes more sense for the images to just be the correct size instead of trying to smoosh them into place.
Attachment #8613673 - Flags: review?(sleroux) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: