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

layout view.
This commit is contained in:
scott%scott-macgregor.org 2004-02-20 19:23:36 +00:00
Родитель 580557c74f
Коммит dfb0a931da
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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");