- Fix displaying of the From: popup menu when composing a new message.
This actually show a bug in BPopUpMenu. It seesm to think that its size includes the arrow at its right size and so it draws the menu item string over it. Stippi? git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29285 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
ae2bf46029
commit
7323980943
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user