Closed Bug 422476 Opened 16 years ago Closed 16 years ago

make last checkbox in colors dialogue multiline to avoid content clipping in localized builds

Categories

(Firefox :: Settings UI, defect, P2)

defect

Tracking

()

RESOLVED FIXED
Firefox 3

People

(Reporter: pascalc, Assigned: pascalc)

Details

Attachments

(3 files, 1 obsolete file)

After doing QA on all locales for beta4, I noticed that 2/3 of our locales have width issues with some of the dialogues, particularly the Colors dialogue.

The reason is that the content of the box is positionned regarding to the width of the last check box and most of our locales have a longer string than en-US.

For locales that change the width of the window, it can lead to a very wide and almost empty dialogue so as to avoid clipping.

See screenshot to see the problem
Attached patch patch to minimize the problem (obsolete) — Splinter Review
here is a patch to fix the problem I described (this is my first patch, I hope I did it correctly)
Attached image screenshot post patch
this is a screenshot of the result after the patch is applied.
Assignee: nobody → pascalc
Attachment #308922 - Flags: review?
Attachment #308922 - Attachment is patch: true
Attachment #308922 - Flags: review? → review?(gavin.sharp)
After talking about it in l10-drivers meeting, changing priority
Severity: enhancement → normal
Flags: blocking-firefox3?
Priority: -- → P2
Flags: blocking-firefox3? → blocking-firefox3+
Whiteboard: [has patch][needs review gavin]
The explicit height in that patch is a bit hacky - this seems to work just as well, though I admit to being confused about why these xul.css style rules are there. The prefwindow/prefpane bindings seem to have all sorts of ugly explicit resizing code (to make animateFadeIn behavior work, I guess?).
Attachment #308922 - Attachment is obsolete: true
Attachment #308922 - Flags: review?(gavin.sharp)
Attachment #315557 - Flags: review?(enndeakin)
Whiteboard: [has patch][needs review gavin] → [has patch][needs review neil]
Attachment #315557 - Flags: review?(enndeakin) → review+
Keywords: checkin-needed
Whiteboard: [has patch][needs review neil] → [has patch]
Target Milestone: --- → Firefox 3
Comment on attachment 315557 [details] [diff] [review]
slightly modified patch

a1.9=beltzner
Attachment #315557 - Flags: approval1.9? → approval1.9+
Checked in:
mozilla/browser/components/preferences/colors.xul 	1.9
mozilla/toolkit/content/xul.css 	1.121
Status: NEW → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [has patch]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: