Closed Bug 714583 Opened 14 years ago Closed 14 years ago

Labels of inline options shouldn't get cropped

Categories

(Toolkit :: Add-ons Manager, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla12

People

(Reporter: jwkbugzilla, Assigned: darktrojan)

References

Details

Attachments

(1 file, 1 obsolete file)

Steps to reproduce: 1. Install Customization for Adblock Plus extension from https://addons.mozilla.org/addon/abpcustomization/. 2. Press Ctrl-Shift-A to open the Add-ons Manager. 3. Click the Options button for Customization extension. 4. Reduce the size of the browser window. Expected result: As the window size gets smaller, the option labels wrap around but stay readable. Actual result: Option labels get cropped. There isn't even a tooltip meaning that reading them becomes impossible. This is apparently an issue for some users who don't run Firefox maximized. Making the labels shorter is not an options because it is unclear which window width should be expected (and communicating width restrictions to translators is close to impossible anyway). While it might make sense to crop the labels if only very little space is available (on mobile), on desktop the label should definitely just wrap. This change to chrome://mozapps/content/extensions/setting.xml should do: - <xul:label class="settings-title" xbl:inherits="value=label" crop="end" flex="1"/> + <xul:label class="settings-title" xbl:inherits="xbl:text=label" flex="1"/> Checked that the issue still exists in Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0a1) Gecko/20120101 Firefox/12.0a1.
This change is also required of course (in several places): - <xul:label class="preferences-title" xbl:inherits="value=title" crop="end" flex="1"/> + <xul:label class="preferences-title" xbl:inherits="xbl:text=title" flex="1"/>
Assignee: nobody → geoff
Status: NEW → ASSIGNED
Attached patch patch (obsolete) — Splinter Review
Attachment #585260 - Flags: review?(bmcbride)
Comment on attachment 585260 [details] [diff] [review] patch Review of attachment 585260 [details] [diff] [review]: ----------------------------------------------------------------- Remove the crop="end" attribute too. Also, better give the description label (preferences-description) the same treatment so it also wraps.
Attachment #585260 - Flags: review?(bmcbride) → review-
Attached patch patch v2Splinter Review
(In reply to Blair McBride (:Unfocused) from comment #3) > Remove the crop="end" attribute too. Oh duh, I'm really clever...
Attachment #585260 - Attachment is obsolete: true
Attachment #585324 - Flags: review?(bmcbride)
Attachment #585324 - Flags: review?(bmcbride) → review+
Flags: in-testsuite-
Target Milestone: --- → mozilla12
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: