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:
@@ -223,7 +223,7 @@ TPrefsWindow::TPrefsWindow(BPoint leftTop, BFont* font, int32* level,
|
|||||||
|
|
||||||
fReplyPreambleMenu = _BuildReplyPreambleMenu();
|
fReplyPreambleMenu = _BuildReplyPreambleMenu();
|
||||||
menu = new BMenuField("replyPreamble", NULL, fReplyPreambleMenu);
|
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->CreateLabelLayoutItem(), 0, layoutRow);
|
||||||
mailLayout->AddItem(fReplyPreamble->CreateTextViewLayoutItem(), 1,
|
mailLayout->AddItem(fReplyPreamble->CreateTextViewLayoutItem(), 1,
|
||||||
|
|||||||
Reference in New Issue
Block a user