Fixes a regression caused by Bug #234707 --> problems adjusting the thread pane splitter when in the wide

layout view.


git-svn-id: svn://10.0.0.236/trunk@153026 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
scott%scott-macgregor.org 2004-02-20 19:23:36 +00:00
parent f53242a13f
commit c6a12016ba

View File

@ -652,6 +652,8 @@ function UpdateMailPaneConfig(aMsgWindowInitialized) {
msgPaneReRooted = true;
}
document.getElementById('messengerBox').removeAttribute('flex');
// now for each config, handle any extra clean up to create that view (such as changing a box orientation)
if (paneConfig == kStandardPaneConfig) // standard 3-Pane Layout
{
@ -665,6 +667,8 @@ function UpdateMailPaneConfig(aMsgWindowInitialized) {
else if (paneConfig == kWidePaneConfig) // "Wide" Window Pane Layout
{
threadPaneSplitter.setAttribute("orient", "vertical");
document.getElementById('messengerBox').setAttribute('flex', '1');
// finally, make sure mailContentWrapper has the correct orientation
mailContentWrapper.setAttribute("orient", "vertical");