From e237c02295d0db13210e0ebd21cd058e473cf293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Liru=20F=C3=A6rs?= Date: Mon, 26 Aug 2019 08:38:22 -0400 Subject: [PATCH] Sometimes account into is too long to display on profiles, show tooltip --- indra/newview/llpanelavatar.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/indra/newview/llpanelavatar.cpp b/indra/newview/llpanelavatar.cpp index ca3d9f52f..c1820c5bd 100644 --- a/indra/newview/llpanelavatar.cpp +++ b/indra/newview/llpanelavatar.cpp @@ -186,7 +186,12 @@ void LLPanelAvatarSecondLife::processProperties(void* data, EAvatarProcessorType args["[PAYMENTINFO]"] = LLAvatarPropertiesProcessor::paymentInfo(pAvatarData); args["[AGEVERIFICATION]"] = LLStringUtil::null; - getChild("acct")->setValue(getString("CaptionTextAcctInfo", args)); + { + const auto account_info = getString("CaptionTextAcctInfo", args); + auto acct = getChild("acct"); + acct->setValue(account_info); + acct->setToolTip(account_info); + } getChild("img")->setImageAssetID(pAvatarData->image_id);