Closed
Bug 260931
Opened 20 years ago
Closed 20 years ago
Common Dialog's checkbox does not wrap
Categories
(SeaMonkey :: UI Design, defect)
SeaMonkey
UI Design
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: neil, Assigned: neil)
Details
Attachments
(2 files, 1 obsolete file)
654 bytes,
patch
|
janv
:
review+
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
1.02 KB,
patch
|
mconnor
:
review+
|
Details | Diff | Splinter Review |
The longest example I noticed of a checkbox in a common dialog prompt is the mixed content show again label, "Alert me whenever I'm about to view an encrypted page that contains some unencrypted information." This label is so long that it needs to wrap to the 45em max-width set on the ancestor vbox. It currently does not because it has been made inflexible to allow it to display nicer focus ring and hover styles. Fortunately I have discovered a way to allow it to flex without forcing it to flex.
Assignee | ||
Comment 1•20 years ago
|
||
Assignee: guifeatures → neil.parkwaycc.co.uk
Status: NEW → ASSIGNED
Assignee | ||
Updated•20 years ago
|
Attachment #159714 -
Flags: superreview?(jag)
Attachment #159714 -
Flags: review?(varga)
Assignee | ||
Comment 2•20 years ago
|
||
Comment on attachment 159714 [details] [diff] [review] Proposed patch Whoops, this breaks prompt() - need to think some more about this :-(
Assignee | ||
Comment 3•20 years ago
|
||
OK, so this fixes it because the hbox doesn't enforce a width on the checkbox, expecting it to flex if it wants more (or less) width, while the vbox does enforce the checkbox max width; the align="start" allows the checkbox to shrink.
Attachment #159714 -
Attachment is obsolete: true
Assignee | ||
Updated•20 years ago
|
Attachment #159715 -
Flags: superreview?(jag)
Attachment #159715 -
Flags: review?(varga)
Updated•20 years ago
|
Attachment #159714 -
Flags: superreview?(jag)
Attachment #159714 -
Flags: review?(varga)
Updated•20 years ago
|
Attachment #159715 -
Flags: review?(varga) → review+
Comment 4•20 years ago
|
||
Comment on attachment 159715 [details] [diff] [review] Better patch sr=jag
Attachment #159715 -
Flags: superreview?(jag) → superreview+
Assignee | ||
Comment 5•20 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
Comment 6•20 years ago
|
||
Attachment #169062 -
Flags: review?(mconnor)
Updated•20 years ago
|
Attachment #169062 -
Flags: review?(mconnor) → review+
Comment 7•20 years ago
|
||
Comment on attachment 169062 [details] [diff] [review] toolkit port (checked in) Checking in toolkit/content/commonDialog.xul; /cvsroot/mozilla/toolkit/content/commonDialog.xul,v <-- commonDialog.xul new revision: 1.5; previous revision: 1.4 done
Attachment #169062 -
Attachment description: toolkit port → toolkit port (checked in)
You need to log in
before you can comment on or make changes to this bug.
Description
•