Open Bug 80324 Opened 23 years ago Updated 2 years ago

Default width of <menulist> is wider than necessary to fit longest menuitem string

Categories

(Core :: XUL, defect, P4)

defect

Tracking

()

Future

People

(Reporter: cmanske, Unassigned)

References

Details

Attachments

(1 file)

Menulists should determine their width by the longest string in child menuitems, but current calculation seems to result in 20-30% wider size than needed. In dialogs and toolbars where minimizing width is important, this becomes a problem. E.g.: On Composer's toolbar (the paragraph properties menulist), or in Composer's Table Properties dialog (insert a table with table button, click on button again to see dialog.) This problem appears in both Modern and Classic themes, but seems worse in Modern.
Status: NEW → ASSIGNED
*** Bug 80413 has been marked as a duplicate of this bug. ***
-> all since this is seen on mac too [per bug 80413].
OS: Windows NT → All
Hardware: PC → All
*** Bug 86637 has been marked as a duplicate of this bug. ***
Has this been fixed perhaps? I am using Build 2001072703 at 640x480 and have not been able to reproduct this problem. (If it hasn't been fixed, please note that it is a critical issue reported by distributors as it affects perception of the browser as well as impeding functionaity at times.)
It doesn't look fixed to me using Modern theme. The area of the menulist for the text still seems wider than it needs to be to accomodate the longest menuitem value.
Nominating for nsbranch. cc: johng
Keywords: nsBranch
The screen I just attached was on Win2K at 800x600 resolution. Build ID 2001073003
Susie: I don't think the problem you show in the attachment has anything to do with this bug. Please file a separate bug for that problem (or maybe there's another bug about buttons getting chopped off like that.)
Moved my last set of comments to 81958.
Keywords: nsbranch
Mass reassigning my theme bugs to Shuehan.
Assignee: hewitt → shliang
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
reassigning
Assignee: shliang → hewitt
Status: ASSIGNED → NEW
Status: NEW → ASSIGNED
Component: User Interface Design → XP Toolkit/Widgets
Priority: -- → P4
Target Milestone: mozilla1.0 → Future
Assignee: hewitt → nobody
Status: ASSIGNED → NEW
QA Contact: zach → xptoolkit.widgets
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: