summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorGilbert Gonzales <gilbert@lindenlab.com>2012-12-07 17:38:36 -0800
committerGilbert Gonzales <gilbert@lindenlab.com>2012-12-07 17:38:36 -0800
commitb1b4b78d5c97659d82ff67b38db4d4188967efbb (patch)
tree0b4eb018cacd40a52f293b0ddafc1146f2d7ca05 /indra
parent2965cdf5dbca4810e216315644f0981417415e9c (diff)
CHUI-417: Problem: Speaking indicator icons were out of position because they were not taking into account the reduced width when a vertical scrollbar appeared. Resolution: Now when the ::arrange() function is called, this implies that the width of a conversation line item has changed...so within this function call updateChildren(). updateChildren() will reposition the speaker icon and info button based upon the adjusted width.
Diffstat (limited to 'indra')
-rwxr-xr-xindra/newview/llconversationview.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llconversationview.cpp b/indra/newview/llconversationview.cpp
index b964cee09f..f088a8c084 100755
--- a/indra/newview/llconversationview.cpp
+++ b/indra/newview/llconversationview.cpp
@@ -472,6 +472,9 @@ S32 LLConversationViewParticipant::arrange(S32* width, S32* height)
mAvatarIcon->getRect().mBottom);
mAvatarIcon->setShape(avatarRect);
+ //Since dimensions changed, adjust the children (info button, speaker indicator)
+ updateChildren();
+
return arranged;
}