Closed Bug 127189 Opened 23 years ago Closed 23 years ago

sizetopopup should set min size = popup size

Categories

(Core :: XUL, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.9

People

(Reporter: bryner, Assigned: bryner)

References

Details

Attachments

(1 file, 1 obsolete file)

In order for XBL select widgets to not shrink narrower when space is constrained, we need sizetopopup for a menulist to set the min width of the menulist to the popup width (in addition to the preferred width).
Blocks: 112713
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
Attached patch patch (obsolete) — Splinter Review
Comment on attachment 70881 [details] [diff] [review] patch r=jag with extraneous parentheses removed.
Attachment #70881 - Flags: review+
sr=hyatt (using chimera no less!)
Comment on attachment 70881 [details] [diff] [review] patch a=dbaron for 0.9.9
Attachment #70881 - Flags: superreview+
Attachment #70881 - Flags: approval+
checked in.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
This caused a regression in the prefs dialog: In the font panel, the dialog size isn't quite wide enough, so the menulists get clipped instead of shrinking. We need to come up with something better here. I'm backing out my checkin.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch patch v2Splinter Review
Ok, let's try this again. I'm changing the sizetopopup attribute from a true/false value to an attribute with 3 states: always - both the min and pref size are the popup size pref - only the preferred size is the popup size not set, or any other value - popup size does not affect parent content size
Attachment #70881 - Attachment is obsolete: true
Comment on attachment 71818 [details] [diff] [review] patch v2 r=saari (verbal)
Attachment #71818 - Flags: review+
sr=hyatt
Comment on attachment 71818 [details] [diff] [review] patch v2 a=shaver for 0.9.9.
Attachment #71818 - Flags: superreview+
Attachment #71818 - Flags: approval+
fixed, for real this time.
Status: REOPENED → RESOLVED
Closed: 23 years ago23 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: