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)
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.
| Reporter | ||
Updated•10 years ago
|
Summary: Share and Bookmark icons are how huge → Share and Bookmark icons are larger than the rest of the nav icons
| Reporter | ||
Comment 1•10 years ago
|
||
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).
Updated•10 years ago
|
tracking-fennec: --- → ?
| Reporter | ||
Comment 2•10 years ago
|
||
Update #2, these icons show large after rotation (portrait > landscape > portrait)
| Reporter | ||
Comment 3•10 years ago
|
||
possibly related to bug 1162268
| Assignee | ||
Updated•10 years ago
|
Assignee: nobody → sarentz
Updated•10 years ago
|
tracking-fennec: ? → +
| Assignee | ||
Comment 6•10 years ago
|
||
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)
| Assignee | ||
Updated•10 years ago
|
Whiteboard: noteworthy
Comment 7•10 years ago
|
||
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+
| Assignee | ||
Updated•10 years ago
|
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.
Description
•