summaryrefslogtreecommitdiff
path: root/indra/llui/lllayoutstack.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-01-17 16:28:12 -0800
committerRichard Linden <none@none>2012-01-17 16:28:12 -0800
commit1eae229cf2470bee506d72ddecbd1305f305670b (patch)
tree97e4f38988cb1cf7a4a1bd5d5d188bddae1dd0a0 /indra/llui/lllayoutstack.cpp
parentc738523b9056c530f9f0f48aebc2d405760f1415 (diff)
EXP-1809 FIX Buttons in right toolbar clipped and can be out of position
Diffstat (limited to 'indra/llui/lllayoutstack.cpp')
-rw-r--r--indra/llui/lllayoutstack.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llui/lllayoutstack.cpp b/indra/llui/lllayoutstack.cpp
index f7b34bbb38..a309e3ff97 100644
--- a/indra/llui/lllayoutstack.cpp
+++ b/indra/llui/lllayoutstack.cpp
@@ -167,6 +167,11 @@ void LLLayoutPanel::reshape( S32 width, S32 height, BOOL called_from_parent /*=
if (!mIgnoreReshape && !mAutoResize)
{
mTargetDim = (mOrientation == LLLayoutStack::HORIZONTAL) ? width : height;
+ LLLayoutStack* stackp = dynamic_cast<LLLayoutStack*>(getParent());
+ if (stackp)
+ {
+ stackp->mNeedsLayout = true;
+ }
}
LLPanel::reshape(width, height, called_from_parent);
}