Bug 1586743 - Enable spellcheck and languages item in subject line context menu. r=mkmelin
authorAlessandro Castellani <alessandro@thunderbird.net>
Mon, 14 Oct 2019 13:06:10 -0700
changeset 37175 c4c283656a88f263c19d95ad17e816f72ff4ccba
parent 37174 985a460f82026adfed2bf9b8e5bc00234edd5698
child 37176 2a06340a320b1497372f2a05977d79f625ef5f9c
push id395
push userclokep@gmail.com
push dateMon, 02 Dec 2019 19:38:57 +0000
reviewersmkmelin
bugs1586743
Bug 1586743 - Enable spellcheck and languages item in subject line context menu. r=mkmelin
mail/components/compose/content/messengercompose.xul
--- a/mail/components/compose/content/messengercompose.xul
+++ b/mail/components/compose/content/messengercompose.xul
@@ -2057,24 +2057,26 @@
             </richlistitem>
           </richlistbox>
           <hbox id="subject-box">
             <hbox class="aw-firstColBox"/>
             <hbox align="center" pack="end" style="&headersSpace.style;">
               <label id="subjectLabel" value="&subject.label;" accesskey="&subject.accesskey;" control="msgSubject"/>
             </hbox>
             <hbox flex="1" align="center" class="input-container">
-              <html:input id="msgSubject"
-                          type="text"
-                          class="input-inline"
-                          disableonsend="true"
-                          spellcheck="true"
-                          oninput="gContentChanged = true; SetComposeWindowTitle();"
-                          onkeypress="subjectKeyPress(event);"
-                          aria-labelledby="subjectLabel"/>
+              <moz-input-box spellcheck="true" style="flex: 1;">
+                <html:input id="msgSubject"
+                            type="text"
+                            class="input-inline textbox-input"
+                            disableonsend="true"
+                            oninput="gContentChanged = true; SetComposeWindowTitle();"
+                            onkeypress="subjectKeyPress(event);"
+                            aria-labelledby="subjectLabel"
+                            style="-moz-box-flex: 1;"/>
+                </moz-input-box>
             </hbox>
           </hbox>
         </vbox>
         <splitter id="attachmentbucket-sizer"
                   collapsed="true"
                   collapse="after"
                   onmouseup="attachmentBucketSizerOnMouseUp();"/>
         <vbox id="attachments-box" collapsed="true" persist="width">