Closed Bug 39751 Opened 26 years ago Closed 26 years ago

need menubutton widget for smaller menu buttons

Categories

(Core :: XUL, defect, P2)

All
Mac System 8.5
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: andreww, Assigned: bugs)

Details

The menubutton widget is the one in which you have a dropdown menu when you click on the "down arrow". This is seen in navigator's "back" and "forward" buttons. AIM (possibly other components as well) needs this widget, but using the smaller "circle" that you see in say mail-news menus. Also this widget needs to be able to display the text underneath. So basically we need a widget that looks just like the mail-news buttons, but with the menubutton functionality.
BTW this is needed in order for the "AWAY" functionality in AIM to work properly via the button.
Keywords: nsbeta2
Keywords: skins
Is there another way to do this with existing widgets?
Whiteboard: [NEED INFO]
Ben, can you give the PDT some additional justification here?
Priority: P3 → P2
Target Milestone: --- → M16
Some justifications: 1) parity with other buttons - the non menu buttons have both states (large and small circles) 2) the current widget does not allow for text, which is a req for that menubar 3) the menubutton widget was used here with the assumption that this would be available 4) aim could hack something up in css, but it's really a general purpose widget which other components may take advantage of. (what's involved in this is taking the XBL Ben used in making the larger button [for the back and forward buttons] and making a derived button similar which allows menubuttons to be used in the smaller form factor in components such as mail-news, composer, aim, etc.) The risk here is pretty low as it probably only involves a few lines of XBL code + a css entry.
Then this is really a feature. Move to M17.
Target Milestone: M16 → M17
Cannot do this with existing widgets. The widget for the drop down button should be able to accept different size images for the button.
Whiteboard: [NEED INFO]
Status: NEW → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
This seems to work for the Print button in the mail three pane window, so I'm marking this fixed.
verifying. andrew, mail and editor now use this kind of button. look at their toolbar code for examples
Status: RESOLVED → VERIFIED
Yes indeed. I've been able to get the right look now. Thanks! Great work!
Keywords: skins
You need to log in before you can comment on or make changes to this bug.