Closed Bug 778491 Opened 14 years ago Closed 14 years ago

Text of 'Your tabs from last time' entries on about:home is not centered vertically

Categories

(Firefox for Android Graveyard :: Theme and Visual Design, defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox14 unaffected, firefox15 affected, firefox16 affected, firefox17 verified)

VERIFIED FIXED
Firefox 17
Tracking Status
firefox14 --- unaffected
firefox15 --- affected
firefox16 --- affected
firefox17 --- verified

People

(Reporter: pretzer, Assigned: mcomella)

Details

Attachments

(4 files, 2 obsolete files)

Attached image Screenshot of the issue —
The text of entries in the 'Your tabs from last time' category on about:home is not centered vertically. It is sitting slightly too high (see screenshot) and is therefore not aligned with the favicon next to it.
Attached patch Patch (obsolete) — — Splinter Review
The text is now more centered. The text still looks a little too high (in my opinion) but this is due to the nature of font than anything else. I opted to keep this as a simpler solution than to align the font to a pixel-perfect degree. Let me know if you want this changed.
Attachment #647003 - Flags: review?(sriram)
Status: NEW → ASSIGNED
Comment on attachment 647003 [details] [diff] [review] Patch Review of attachment 647003 [details] [diff] [review]: ----------------------------------------------------------------- The idea of using RelativeLayout was to reduce that one little LinearLayout in each row. This layout is very similar to: https://hg.mozilla.org/mozilla-central/file/tip/mobile/android/base/resources/layout/awesomebar_row.xml, except for the font-sizes. Please use a 2dp marginTop for title, and it should work fine.
Attachment #647003 - Flags: review?(sriram) → review-
Attached patch Patch v2 — — Splinter Review
Attachment #647003 - Attachment is obsolete: true
Attachment #647422 - Flags: review?(sriram)
Note that after this patch, a font size of "Huge" overflows the container.
Comment on attachment 647422 [details] [diff] [review] Patch v2 Review of attachment 647422 [details] [diff] [review]: ----------------------------------------------------------------- This looks good to me.
Attachment #647422 - Flags: review?(sriram) → review+
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 17
How can it be fixed in branches where the patch hasn't landed?
(In reply to Scoobidiver from comment #10) > How can it be fixed in branches where the patch hasn't landed? Meant for another bug, thanks.
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: