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:
Axel Dörfler 2015-11-21 16:12:21 +01:00
parent 04f969a596
commit 0295da8893
1 changed files with 1 additions and 1 deletions

View File

@ -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,