Cure us of Issue 1931: UI Cleanup - Stacked Notice Windows

This commit is contained in:
Inusaito Sayori
2015-05-25 14:26:33 -04:00
parent 36347aba83
commit e7f4a1d5a2

View File

@@ -378,7 +378,7 @@ LLButton* LLNotifyBox::addButton(const std::string& name, const std::string& lab
{
// make caution notification buttons slightly narrower
// so that 3 of them can fit without overlapping the "next" button
S32 btn_width = mIsCaution ? 84 : 90;
S32 btn_width = (mIsCaution || mNumOptions >= 3) ? 84 : 90;
LLRect btn_rect;
S32 btn_height= BTN_HEIGHT;