Open Bug 60552 Opened 25 years ago Updated 3 years ago

Toolbar buttons should have width >= height

Categories

(Core :: XUL, defect)

defect

Tracking

()

People

(Reporter: mpt, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

Build: 2000111520 To reproduce: * Switch to the Classic theme, if you are not already using it. * Mouse over the `Next' button in a Messenger three-pane window, or the `New' button, `Open' button, or `Save' button in a Composer window. What you should see: * The button is at least as wide as it is high -- in this case, the button is square because its content is narrower than it is high. What you actually see: * The button is considerably narrower than it is high, making it look weird. For dual menubuttons, this measurement should use the button part of the menubutton, not the menubutton as a whole.
Blocks: 60553
Sending to Andrew
Assignee: hangas → andreww
Status: NEW → ASSIGNED
Priority: P3 → P4
Themes Triage Team P3, be really nice to have min-width here
Priority: P4 → P3
setting milestone.
Target Milestone: --- → mozilla0.9
Keywords: classic
Summary: [Classic] Toolbar buttons should have width >= height → Toolbar buttons should have width >= height
Target Milestone: mozilla0.9 → mozilla0.8.1
ready for review.
Keywords: review
r=timeless
Keywords: reviewapproval
sr=hewitt
fix checked into trunk.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
Marking verified on Mac (2001-03-19-12-Mtrunk).
Status: RESOLVED → VERIFIED
Reopening - the change I made was not the best way to do this and Pinkerton feels this should be a toolkit fix. Sending to him to filter to whomever.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
reassigning .... now.
Assignee: andreww → pinkerton
Status: REOPENED → NEW
box improvements needed
Assignee: pinkerton → evaughan
Blocks: 72223
I really think we should file a separate bug for the request to support "equal-size" or whatever evaughan want's to call the attribute to make different buttons the same size. Changing platform to All and milestone, since 0.8.1 has passed!
Hardware: Macintosh → All
Target Milestone: mozilla0.8.1 → mozilla0.9
i could take a stab at this...
Assignee: evaughan → dr
OS: Mac System 8.5 → All
Target Milestone: mozilla0.9 → mozilla0.9.1
Status: NEW → ASSIGNED
Component: Themes → XP Toolkit/Widgets: XUL
Keywords: approval, classic
QA Contact: pmac → jrgm
Summary: Toolbar buttons should have width >= height → add "equal-size" attribute on box for equal-sized children
When I filed this bug I also filed bug 60553 for making different buttons the same width, in the knowledge that that was a separate issue from making them wider than they were high. Stuff about equal-size should go in that bug, not this one. Restoring original summary. This bug may be considered fixed now, but from reading the patch I see that it just applies a hard-coded width. So it won't work properly once we can choose graphic-only buttons (bug 22056), or once we can choose between small or large toolbar icons (bug 62444).
Summary: add "equal-size" attribute on box for equal-sized children → Toolbar buttons should have width >= height
> This bug may be considered fixed now, but from reading the patch I see that it > just applies a hard-coded width. Yeah, that's why this was reopened (see andreww's comments). Just checked out 60553, thanks for the info on that. Any opinion what ought to be done here?
I guess this would be XBL for the toolbar button widget. Each button would need to check how high it is, and make sure it's at least as wide as that.
Severity: normal → minor
That'd be a solution; another more generic one might be to implement a CSS extension to do this sort of thing, but I don't know what drawbacks that might have... If we were to take the XBL route, which seems likely to me, I'd prefer to have a "button-with-width-greater-than-height" sort of binding and let toolbar buttons extend that... Sound reasonable?
Severity: minor → normal
Priority: P3 → P4
Target Milestone: mozilla0.9.1 → mozilla0.9.2
->0.9.3 (not a netscape rtm stopper, per pdt)
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Target Milestone: mozilla0.9.3 → Future
[spam] dr@netscape.com's bugs subject to redistribution by chofmann. R!
Assignee: dr → chofmann
Status: ASSIGNED → NEW
Priority: P4 → --
Target Milestone: Future → ---
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets

The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.

Assignee: chofmann → nobody
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: