Closed Bug 1973157 Opened 1 day ago Closed 15 hours ago

Mac native buttons smaller and not centered after bug 1971369

Categories

(Core :: Widget: Cocoa, defect, P2)

Firefox 141
defect

Tracking

()

RESOLVED FIXED
141 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox139 --- unaffected
firefox140 --- unaffected
firefox141 --- fixed

People

(Reporter: sam, Assigned: emilio)

References

(Regression)

Details

(Keywords: regression)

Attachments

(3 files)

Attached image buttons.png

After bug 1971369 (per mozregression), Mac native styled buttons appear to be smaller, with text no longer centered vertically or horizontally. Attached screenshot illustrating the regression (top is pre-regression, bottom is post-regression).

Set release status flags based on info from the regressing bug 1971369

:emilio, since you are the author of the regressor, bug 1971369, could you take a look? Also, could you set the severity field?

For more information, please visit BugBot documentation.

Flags: needinfo?(emilio)
Flags: needinfo?(emilio)

D253206 changed the margins to use an IntMargin. However I didn't
realize the order was subtly different. The cocoa code was using left,
top, right, bottom, while IntMargin uses the CSS order (top, right,
bottom, left). So fix the order of the numbers to preserve previous
behavior.

Assignee: nobody → emilio
Status: NEW → ASSIGNED

Wrote while debugging. They're typedefs so this is just less confusing.

Severity: -- → S2
Priority: -- → P2
Status: ASSIGNED → RESOLVED
Closed: 15 hours ago
Resolution: --- → FIXED
Target Milestone: --- → 141 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: