Closed
Bug 698310
Opened 13 years ago
Closed 10 years ago
Spell Check Dialog to small for long words. Make it resizable.
Categories
(SeaMonkey :: General, enhancement)
SeaMonkey
General
Tracking
(seamonkey2.32 fixed)
VERIFIED
FIXED
seamonkey2.32
Tracking | Status | |
---|---|---|
seamonkey2.32 | --- | fixed |
People
(Reporter: Hb, Assigned: philip.chee)
References
Details
Attachments
(2 files, 1 obsolete file)
42.94 KB,
image/jpeg
|
Details | |
6.25 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
The spell check dialog used in Mailnews and in Composer is too small and can't handle the word Kindertagesstättenbedarfsplanung.
Assignee | ||
Updated•12 years ago
|
Severity: minor → enhancement
Summary: Spell Check Dialog to small for long words → Spell Check Dialog to small for long words. Make it resizable.
Assignee | ||
Comment 1•10 years ago
|
||
This patch makes the EdSpellCheck dialog resizable. Also flexes the listbox.
Assignee: nobody → philip.chee
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #8492660 -
Flags: review?(neil)
Comment 2•10 years ago
|
||
Comment on attachment 8492660 [details] [diff] [review] Patch v1.0 Suite and Editor-ui changes. I'm not convinced that you should persist the width. The list should flex to fill the available height. The misspelled word should flex to fill the available width!
Attachment #8492660 -
Flags: review?(neil) → review-
Assignee | ||
Comment 3•10 years ago
|
||
> I'm not convinced that you should persist the width. Removed. > The list should flex to fill the available height. Fixed. Managed to do this after poking at the dialog with DOMi. > The misspelled word should flex to fill the available width! Fixed. Now using the "crop" attribute on the label instead of TruncateStringAtWordEnd(). Bonus we get a proper ellipsis. > - gDialog.MisspelledWord.setAttribute("value", TruncateStringAtWordEnd(gMisspelledWord, 30, true)); > + gDialog.MisspelledWord.setAttribute("value", gMisspelledWord); > - <spacer flex="1"/> > + <separator/> I tried class="thin" but decided it looked better without the thin.
Attachment #8492660 -
Attachment is obsolete: true
Attachment #8497101 -
Flags: review?(neil)
Comment 4•10 years ago
|
||
Comment on attachment 8497101 [details] [diff] [review] Patch v2.0 fix review issues. > <vbox> >- <grid flex="1"> >+ <grid> > <columns><column class="spell-check" flex="1"/><column class="spell-check" flex="1"/></columns> > <rows> > <row> > <button id="Replace" label="&replaceButton.label;" > oncommand="Replace(gDialog.ReplaceWordInput.value);" > accesskey="&replaceButton.accessKey;"/> > <button id="Ignore" oncommand="Ignore();" label="&ignoreButton.label;" > accesskey="&ignoreButton.accessKey;"/> >@@ -74,17 +74,17 @@ > <row> > <button id="ReplaceAll" oncommand="ReplaceAll();" label="&replaceAllButton.label;" > accesskey="&replaceAllButton.accessKey;"/> > <button id="IgnoreAll" oncommand="IgnoreAll();" label="&ignoreAllButton.label;" > accesskey="&ignoreAllButton.accessKey;"/> > </row> > </rows> > </grid> >- <spacer flex="1"/> >+ <separator/> > <label value="&userDictionary.label;"/> > <hbox flex="1" align="start"> > <button class="spell-check" id="AddToDictionary" oncommand="AddToDictionary()" label="&addToUserDictionaryButton.label;" > accesskey="&addToUserDictionaryButton.accessKey;"/> > <button class="spell-check" id="EditDictionary" oncommand="EditDictionary()" label="&editUserDictionaryButton.label;" > accesskey="&editUserDictionaryButton.accessKey;"/> > </hbox> > </vbox> Nit: I don't mind you removing the flex from the grid and the spacer (separator) but then you might as well remove it from the hbox too. (On a side note, the use of a grid only for some of the buttons looks a little inconsistent.)
Attachment #8497101 -
Flags: review?(neil) → review+
Assignee | ||
Comment 5•10 years ago
|
||
Pushed to comm-central
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
status-seamonkey2.32:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.32
Assignee | ||
Comment 6•10 years ago
|
||
Pushed to comm-central: http://hg.mozilla.org/comm-central/rev/ebf02afd4903
You need to log in
before you can comment on or make changes to this bug.
Description
•