Closed Bug 268099 Opened 20 years ago Closed 20 years ago

filepicker buttons are too wide

Categories

(Core :: XUL, defect)

x86
Linux
defect
Not set
major

Tracking

()

RESOLVED FIXED

People

(Reporter: ajschult784, Assigned: roc)

References

Details

(Keywords: regression)

Attachments

(1 file)

With linux trunk 2004110506, the filepicker's buttons for up, home and create a
directory are too wide (about 2-3x too wide).  Backing out bug 267498 and bug
265165 fix the problem.

Dom Inspector attributes the extra width to the button's label, which is 28px
(without bug 265165, it was 0px)
In same gtk1 build ID I see only too wide home & up buttons. Where is create
directory button supposed to be? Only labels I see are the tooltips.
The create directory button should be next to the home button.  I was also using
the gtk1 build.  This probably does not affect the gtk2 build since it uses the
gtk2 filepicker.
The create directory button is hidden if you are opening files.
Comment on attachment 164982 [details] [diff] [review]
fix 

Fixes a regression from bug  265165.

Maybe XUL layout-based min-size shouldn't override the CSS max-size? I wish we
had hyatt's flexbox CSS draft
Attachment #164982 - Flags: superreview?(bzbarsky)
Attachment #164982 - Flags: review?(bzbarsky)
Comment on attachment 164982 [details] [diff] [review]
fix 

r+sr=bzbarsky, but I agree that this whack-a-mole is silly.  There's a pretty
fundamental incompatibility here between the flexbox stuff and CSS...
Attachment #164982 - Flags: superreview?(bzbarsky)
Attachment #164982 - Flags: superreview+
Attachment #164982 - Flags: review?(bzbarsky)
Attachment #164982 - Flags: review+
*** Bug 269362 has been marked as a duplicate of this bug. ***
Robert, you going to check this in?  ;)
Sorry, I lost the review granted email (machine death) and forgot about it.
thanks for the reminder :-)
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment on attachment 164982 [details] [diff] [review]
fix 

>+  min-width: 0%; // don't let XUL layout min-size override our max-width setting
These need CSS-style comments, surely?
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: