Bug 794749 Vertical view doesn't persist splitter positions correctly r=IanN a=IanN SEA_2_26_1_RELBRANCH
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Mon, 02 Jun 2014 00:09:18 +0100
branchSEA_2_26_1_RELBRANCH
changeset 31057 27995f4797f516eff98a6702919b095e645a4990
parent 31056 f226cb234deb230217bce7a9d907cda0976ad9af
child 31058 c9876da9d1ff84c54a6c5f00ff0827a0222ba1e0
push id1
push userclokep@gmail.com
push dateMon, 07 May 2018 22:45:56 +0000
treeherdercomm-esr60@57eacde5ef40 [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
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() -->