From e7f4a1d5a2297dcbae2f944e8f00e91661eb582e Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Mon, 25 May 2015 14:26:33 -0400 Subject: [PATCH] Cure us of Issue 1931: UI Cleanup - Stacked Notice Windows --- indra/newview/llnotify.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llnotify.cpp b/indra/newview/llnotify.cpp index 81ac127cf..f0c5ad084 100644 --- a/indra/newview/llnotify.cpp +++ b/indra/newview/llnotify.cpp @@ -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;