Closed Bug 1257538 Opened 9 years ago Closed 9 years ago

Allow more lines of text empty panel descriptions before resizing font

Categories

(Firefox for iOS :: General, defect)

Other
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios 4.0+ ---
fxios-v4.0 --- fixed
fxios-v5.0 --- fixed

People

(Reporter: flod, Assigned: farhanpatel.17, Mentored)

References

Details

(Whiteboard: [good first bug])

Attachments

(2 files)

Attached image empty_panels.png
Compare history (on the left) with bookmarks (on the right): there's plenty of space available, but the font is reduced to an hardly readable size.
Mentor: etoop
Whiteboard: [good first bug]
Assignee: nobody → farhanpatel.17
Attached file Pull Request
I opted to set the number of lines to automatic. I can set this to 5 or something if you think that works better. I dont have the locals setup on my dev yet. Hopefully someone else can respond with a screenshot of exactly how it looks with the change.
Attachment #8740518 - Flags: review?(bnicholson)
I'm actually having trouble reproducing this bug. I've tried looking at the empty panels on the 4s, 5s, and 6s, but the fonts look the same on all of them. Did this get fixed somewhere else, or are there some STR I need to follow?
Status: NEW → ASSIGNED
Try doubling the text in the label if you dont want to try a specfic locale. You can see it easily. If the text is longer than 2 lines than `welcomeLabel.adjustsFontSizeToFitWidth = true` will reduce the size to make the text fit into the 2 lines. The font is still the same but the text is so small it makes it hard to read.
Comment on attachment 8740518 [details] [review] Pull Request Er, somehow missed that the screenshot is in a different language. Makes sense to me!
Attachment #8740518 - Flags: review?(bnicholson) → review+
master 8db5b867a878af7d09fb52cb5dc185f0499254cb
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Whiteboard: [good first bug] → [good first bug][needsuplift]
v4.x v4.x 6f49c25
Whiteboard: [good first bug][needsuplift] → [good first bug]
Target Milestone: --- → 4.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: