Bug 1475967 - Set orient="vertical" by default to the vertical Chat splitters. r+a=jorgk
authorRichard Marti <richard.marti@gmail.com>
Sat, 06 Oct 2018 10:58:36 +0200
changeset 33055 67b3bff2c91a
parent 33054 789383f2f5ba
child 33056 a63ea27d4417
push id386
push userclokep@gmail.com
push dateTue, 23 Oct 2018 00:48:12 +0000
bugs1475967
Bug 1475967 - Set orient="vertical" by default to the vertical Chat splitters. r+a=jorgk
mail/components/im/content/chat-messenger.inc
mail/components/im/content/imconversation.xml
--- a/mail/components/im/content/chat-messenger.inc
+++ b/mail/components/im/content/chat-messenger.inc
@@ -170,17 +170,17 @@
                       <textbox flex="1" readonly="true" class="plain" id="participantCount"/>
                     </hbox>
                     <richlistbox id="nicklist" class="conv-nicklist theme-listbox"
                                  flex="1" seltype="multiple"
                                  tooltip="imTooltip"
                                  onclick="chatHandler.onNickClick(event);"
                                  onkeypress="chatHandler.onNicklistKeyPress(event);"/>
                   </vbox>
-                  <splitter id="logsSplitter" class="conv-chat" collapse="after"/>
+                  <splitter id="logsSplitter" class="conv-chat" collapse="after" orient="vertical"/>
                   <vbox flex="1" id="previousConversations" style="min-height: 200px;">
                     <label class="conv-logs-header-label"
                            id="participantLabel"
                            value="&chat.previousConversations;"/>
                     <tree id="logTree" flex="1" hidecolumnpicker="true" seltype="single"
                           context="logTreeContext" onselect="chatHandler.onLogSelect();">
                       <treecols>
                         <treecol id="logCol" flex="1" primary="true" hideheader="true"
--- a/mail/components/im/content/imconversation.xml
+++ b/mail/components/im/content/imconversation.xml
@@ -22,17 +22,17 @@
             <xul:vbox flex="1">
               <xul:browser anonid="browser" type="content" browser-type="conversation" flex="1"
                            xbl:inherits="tooltip=contenttooltip,contextmenu=contentcontextmenu,autoscrollpopup"/>
               <xul:progressmeter anonid="browserProgress" hidden="true"/>
               <xul:findbar anonid="FindToolbar" reversed="true"/>
             </xul:vbox>
           </xul:notificationbox>
         </xul:hbox>
-        <xul:splitter class="splitter" anonid="splitter-bottom"/>
+        <xul:splitter class="splitter" anonid="splitter-bottom" orient="vertical"/>
         <hbox anonid="convStatusContainer" class="conv-status-container" hidden="true">
           <xul:description anonid="convStatus" class="plain conv-status" crop="end" />
         </hbox>
         <xul:stack anonid="conv-bottom" class="conv-bottom">
           <xul:textbox anonid="inputBox" class="conv-textbox" multiline="true" flex="1"/>
           <xul:description anonid="charCounter" class="conv-counter" value="" right="0" bottom="0"/>
         </xul:stack>
       </xul:vbox>