Closed Bug 298699 Opened 20 years ago Closed 20 years ago

Theme Manager's width is no longer fixed

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)

References

Details

(Keywords: regression)

Attachments

(1 obsolete file)

The checkin of the patch in bug 285584 didn't include "width: 20em;" (see bug
285584, comment 29) for richlistbox. This causes the theme list to flex which is
not the desired behavior (see bug 298140, comment 6 etc.). Patch coming up.
Attached patch patch (obsolete) — Splinter Review
mconnor, I took the js approach to fixing this since it needs to apply to all
themes as it did before when it was set in the binding's css. There is already
js setting the window's width immediately below depending on if the window is
for themes or extensions.
Attachment #187231 - Flags: review?(mconnor)
*** Bug 298878 has been marked as a duplicate of this bug. ***
Blocks: 298878
Attachment #187231 - Flags: review?(mconnor) → review?(benjamin)
Comment on attachment 187231 [details] [diff] [review]
patch

Does this need to be localizable? Most of our specified widths are localizable
because of the different sizing characteristics of various languages.
(In reply to comment #3)
> (From update of attachment 187231 [details] [diff] [review] [edit])
> Does this need to be localizable? Most of our specified widths are localizable
> because of the different sizing characteristics of various languages.
Previously it wasn't and any text longer than the width was cropped. I believe
the proper long term solution to this is the patch in bug 292617. Even with that
the first run width should be set which this patch will do.
Attachment #187231 - Flags: review?(benjamin)
Attachment #187231 - Flags: review+
Attachment #187231 - Flags: approval-aviary1.1a2+
checked in on trunk
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Attachment #187231 - Attachment is obsolete: true
I know this is a bit late, but could this box be sized in relative units, such
as ex or em units?
(In reply to comment #6)
> I know this is a bit late, but could this box be sized in relative units, such
> as ex or em units?
The patch restores the previous behavior of setting the width to 20em. The one
difference is it does this via setting the style attribute on the element
instead of in the binding. As noted earlier a better long term solution is
available in the patch for bug 292617. As for changing it before 1.1a2 I doubt
it and I would prefer to see bug 292617 land than working on this.
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: