diff --git a/src/apps/mail/Header.cpp b/src/apps/mail/Header.cpp index 2ca81a1b0f..b395c3d0d1 100644 --- a/src/apps/mail/Header.cpp +++ b/src/apps/mail/Header.cpp @@ -301,6 +301,8 @@ THeaderView::THeaderView(BRect rect, BRect windowRect, bool incoming, B_WILL_DRAW | B_NAVIGABLE | B_NAVIGABLE_JUMP); encodingField->SetDivider(encodingField->StringWidth(ENCODING_TEXT) + 5); AddChild(encodingField); + + field = encodingField; // And now the "from account" pop-up menu, on the left side, taking the // remaining space. @@ -349,6 +351,7 @@ THeaderView::THeaderView(BRect rect, BRect windowRect, bool incoming, } r.Set(SEPARATOR_MARGIN, y - 2, field->Frame().left - SEPARATOR_MARGIN, y + menuFieldHeight); + r.PrintToStream(); field = new BMenuField(r, "account", FROM_TEXT, fAccountMenu, true /* fixedSize */, B_FOLLOW_TOP | B_FOLLOW_LEFT_RIGHT,