Bug 794749 Vertical view doesn't persist splitter positions correctly r=IanN
authorNeil Rashbrook <neil@parkwaycc.co.uk>
Mon, 02 Jun 2014 00:05:29 +0100
changeset 16271 9bd77606066e0cc65f916c93c9fee49056bd9a6c
parent 16270 5dd3c0e27d09e302d8806f5164a99abfb3d1609b
child 16272 30b5a6ab6780da64461fc5a554a325e94b4f8940
push id10169
push userneil@parkwaycc.co.uk
push dateSun, 01 Jun 2014 23:05:51 +0000
treeherdercomm-central@9bd77606066e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersIanN
bugs794749
Bug 794749 Vertical view doesn't persist splitter positions correctly r=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() -->