Closed Bug 1148670 Opened 10 years ago Closed 10 years ago

Correct MenuItemActionView.onLayout calculation

Categories

(Firefox for Android Graveyard :: General, defect)

All
Android
defect
Not set
normal

Tracking

(firefox40 fixed)

RESOLVED FIXED
Firefox 40
Tracking Status
firefox40 --- fixed

People

(Reporter: mcomella, Assigned: mcomella)

Details

Attachments

(1 file, 1 obsolete file)

We shouldn't use padding - it should be if (width < widthForViewInParent where width = right - left; parentMeasuredSize = parentMeasuredWidth - parentPadding Basically, we're checking to see if there is another child View next to us or if we take up the whole container width.
/r/6241 - Bug 1148670 - Correct onLayout calculation in MenuItemActionView. r=mhaigh Pull down this commit: hg pull review -r b1187135037bee81ceb99e12a28cb983eb5626e9
Attachment #8584907 - Flags: review?(mhaigh)
Comment on attachment 8584907 [details] MozReview Request: bz://1148670/mcomella https://reviewboard.mozilla.org/r/6239/#review5393 Ship It!
Attachment #8584907 - Flags: review?(mhaigh) → review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 40
Attachment #8584907 - Attachment is obsolete: true
Attachment #8619901 - Flags: review+
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: