mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 06:15:43 +00:00
Fixes a regression caused by Bug #234707 --> problems adjusting the thread pane splitter when in the wide
layout view.
This commit is contained in:
parent
b20f53fefb
commit
830d774612
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user