Bug 762129 - Wrong behavior of the Participants/Previous conversations splitter when moved all the way to the top/bottom, r=mconley.
authorFlorian Quèze <florian@queze.net>
Thu, 14 Jun 2012 16:09:24 +0200
changeset 10433 f99dd90965a182da0f58f7c38ddef912baa5c21e
parent 10432 9f92a04afea23b53bc22a99e26edea82f5053b14
child 10434 6be9b667699d746994edaa4f7768dd716cf384b5
push id7890
push userflorian@queze.net
push dateThu, 14 Jun 2012 14:11:04 +0000
treeherdercomm-central@6be9b667699d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs762129
Bug 762129 - Wrong behavior of the Participants/Previous conversations splitter when moved all the way to the top/bottom, r=mconley.
mail/components/im/content/chat-messenger-overlay.xul
mail/components/im/content/chat.css
--- a/mail/components/im/content/chat-messenger-overlay.xul
+++ b/mail/components/im/content/chat-messenger-overlay.xul
@@ -234,34 +234,36 @@
               </deck>
               <button id="goToConversation" hidden="true"
                       oncommand="chatHandler.showCurrentConversation();"/>
             </vbox>
           </deck>
           <splitter id="contextSplitter" hidden="true" collapse="after"/>
           <vbox id="contextPane" hidden="true" width="250" persist="width">
             <toolbar class="conv-top-info" id="conv-top-info"/>
-            <vbox flex="1" class="conv-chat" width="150">
-              <hbox align="baseline" class="conv-nicklist-header">
-                <label class="conv-nicklist-header-label"
-                       id="participantLabel" control="participantCount"
-                       value="&chat.participants;"/>
-                <textbox flex="1" readonly="true" class="plain" id="participantCount"/>
-              </hbox>
-              <listbox id="nicklist" class="conv-nicklist"
-                       flex="1" seltype="multiple"
-                       tooltip="buddyTooltip"
-                       onclick="chatHandler.onNickClick(event);"
-                       onkeypress="chatHandler.onNicklistKeyPress(event);"/>
-            </vbox>
-            <splitter id="logsSplitter" class="conv-chat"/>
-            <vbox flex="1" id="previousConversations">
-              <label class="conv-logs-header-label"
-                     id="participantLabel"
-                     value="&chat.previousConversations;"/>
-              <listbox flex="1" id="logList" onselect="chatHandler.onLogSelect();"/>
+            <vbox id="contextPaneFlexibleBox" flex="1">
+              <vbox flex="1" class="conv-chat" width="150">
+                <hbox align="baseline" class="conv-nicklist-header">
+                  <label class="conv-nicklist-header-label"
+                         id="participantLabel" control="participantCount"
+                         value="&chat.participants;"/>
+                  <textbox flex="1" readonly="true" class="plain" id="participantCount"/>
+                </hbox>
+                <listbox id="nicklist" class="conv-nicklist"
+                         flex="1" seltype="multiple"
+                         tooltip="buddyTooltip"
+                         onclick="chatHandler.onNickClick(event);"
+                         onkeypress="chatHandler.onNicklistKeyPress(event);"/>
+              </vbox>
+              <splitter id="logsSplitter" class="conv-chat"/>
+              <vbox flex="1" id="previousConversations">
+                <label class="conv-logs-header-label"
+                       id="participantLabel"
+                       value="&chat.previousConversations;"/>
+                <listbox flex="1" id="logList" onselect="chatHandler.onLogSelect();"/>
+              </vbox>
             </vbox>
           </vbox>
         </hbox>
       </notificationbox>
     </vbox>
   </tabpanels>
 </overlay>
--- a/mail/components/im/content/chat.css
+++ b/mail/components/im/content/chat.css
@@ -40,17 +40,21 @@ imconv {
 tooltip[type="buddy"] {
   -moz-binding: url("chrome://messenger/content/chat/imbuddytooltip.xml#tooltip");
 }
 
 browser[type="content-conversation"] {
   -moz-binding: url("chrome://chat/content/convbrowser.xml#browser");
 }
 
-#contextPane:not([chat]) > .conv-chat {
+#contextPaneFlexibleBox {
+  overflow: hidden;
+}
+
+#contextPane:not([chat]) > vbox > .conv-chat {
   display: none;
 }
 
 .conv-top-info {
   -moz-binding: url("chrome://messenger/content/chat/imconversation.xml#conv-info-large") !important;
 }
 
 #IMSearchInput {