Mail: Set min size in prefs instead of some random number.
* Since min/max size of the menu had contradicting values at larger font sizes, the layout was confused.
This commit is contained in:
parent
04f969a596
commit
0295da8893
|
@ -223,7 +223,7 @@ TPrefsWindow::TPrefsWindow(BPoint leftTop, BFont* font, int32* level,
|
|||
|
||||
fReplyPreambleMenu = _BuildReplyPreambleMenu();
|
||||
menu = new BMenuField("replyPreamble", NULL, fReplyPreambleMenu);
|
||||
menu->SetExplicitMaxSize(BSize(27, B_SIZE_UNSET));
|
||||
menu->SetExplicitMaxSize(BSize(menu->MinSize().width, B_SIZE_UNSET));
|
||||
|
||||
mailLayout->AddItem(fReplyPreamble->CreateLabelLayoutItem(), 0, layoutRow);
|
||||
mailLayout->AddItem(fReplyPreamble->CreateTextViewLayoutItem(), 1,
|
||||
|
|
Loading…
Reference in New Issue