Bug 794749 Vertical view doesn't persist splitter positions correctly r=IanN a=IanN BETA_BASE_20140609
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Mon, 09 Jun 2014 15:58:23 +0100
changeset 20001 f4dd28fcd93c341cdc2f978a64f30d52dabc5dfd
parent 20000 275585d6b51ab73ed629c87045acce9307c5f13e
child 20002 4c2cfc3ec00cd53b4bb07f31724e7fca0d4d5889
push id1151
push usermbanner@mozilla.com
push dateMon, 09 Jun 2014 22:14:36 +0000
treeherdercomm-beta@ce127428ad7d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersIanN, IanN
bugs794749
Bug 794749 Vertical view doesn't persist splitter positions correctly r=IanN a=IanN a=ewong for checkin to a CLOSED TREE
suite/mailnews/messenger.xul
--- a/suite/mailnews/messenger.xul
+++ b/suite/mailnews/messenger.xul
@@ -187,17 +187,22 @@
             <splitter id="folderpane-splitter"
                       collapse="before"
                       resizeafter="grow"
                       persist="state collapsed"
                       oncommand="MsgToggleFolderPane(false);">
               <grippy/>
             </splitter>
 
-            <box id="messagesBox" orient="vertical" flex="1">
+            <box id="messagesBox"
+                 orient="vertical"
+                 flex="1"
+                 minwidth="100"
+                 width="100"
+                 persist="width">
               <deck id="displayDeck"
                     flex="1"
                     selectedIndex="0"
                     minheight="100"
                     height="100"
                     persist="height"
                     onselect="ObserveDisplayDeckChange(event);">
                 <!-- first panel in displayDeck is Account Central -->
@@ -208,19 +213,16 @@
                           src="about:blank"/>
                 </vbox>
                 <!-- second panel is the threadPane -->
                 <vbox id="threadPaneBox">
                   <tree id="threadTree"
                         treelines="true"
                         keepcurrentinview="true"
                         flex="1"
-                        minwidth="100"
-                        width="100"
-                        persist="width"
                         context="mailContext"
                         class="window-focusborder"
                         focusring="false"/>
                 </vbox>
                 <!-- extensions may overlay in additional panels; don't assume that there are only 2! -->
               </deck>
 
               <!-- if you change this id, please change GetThreadAndMessagePaneSplitter() and MsgToggleMessagePane() -->