Closed Bug 1865616 Opened 2 years ago Closed 2 years ago

Cards height calculation should take into account actual default font size.

Categories

(Thunderbird :: Folder and Message Lists, defect, P1)

Thunderbird 121
defect

Tracking

(thunderbird_esr115 wontfix, thunderbird121 affected)

RESOLVED FIXED
122 Branch
Tracking Status
thunderbird_esr115 --- wontfix
thunderbird121 --- affected

People

(Reporter: freaktechnik, Assigned: elizabeth)

References

(Regression)

Details

(Keywords: access, regression)

Attachments

(1 external file)

Currently, the cards row height calculation falls back to 12 pixels if the prefValue is not set. This means we end up cutting off text if the user has set their system font size to anything bigger than 12px. We should instead use the system font size in that case. The UIFontSize.size getter seems like it would hold the appropriate value: https://searchfox.org/comm-central/rev/00c97f47c2c5cf52b96108dc72b2cd73eb733f2c/mail/modules/UIFontSize.jsm#115-119

Assignee: nobody → elizabeth
Blocks: 1865639
Status: NEW → ASSIGNED
Keywords: access
Priority: -- → P1
Regressed by: 1858578
Attachment #9364855 - Attachment description: WIP: Bug 1865616 - Use default font size in Cards View. → Bug 1865616 - Use default font size in Cards View. r=#thunderbird-front-end-reviewers
See Also: → 1865615
Attachment #9364855 - Attachment description: Bug 1865616 - Use default font size in Cards View. r=#thunderbird-front-end-reviewers → Bug 1865616 - Use default font size in Cards View. r=freaktechnik
Target Milestone: --- → 122 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/833a6963cf86
Use default font size in Cards View. r=freaktechnik

Status: ASSIGNED → RESOLVED
Closed: 2 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: