diff options
author | Richard Linden <none@none> | 2011-09-08 22:37:14 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2011-09-08 22:37:14 -0700 |
commit | 8d64e5d831dddc8a5f5c25ed79f79c730c0947f1 (patch) | |
tree | 12e8d19c066c64cfad65d0fc2fa2c2d967762c83 /indra/llui | |
parent | f2acd554bcf8326824acc23457a38a70021b0026 (diff) | |
parent | 72913ddf4987cae5970741c75f4306815acc5afb (diff) |
Automated merge with ssh://hg.lindenlab.com/richard/viewer-experience-merge
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llview.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/indra/llui/llview.cpp b/indra/llui/llview.cpp index 0616c2a0c0..60452b9ae4 100644 --- a/indra/llui/llview.cpp +++ b/indra/llui/llview.cpp @@ -2579,26 +2579,34 @@ void LLView::applyXUILayout(LLView::Params& p, LLView* parent) if (!p.rect.left.isProvided()) { p.rect.left.set(default_rect.mLeft, false); + //HACK: get around the fact that setting a rect param component value won't invalidate the existing rect object value + p.rect.paramChanged(p.rect.left, true); } if (!p.rect.bottom.isProvided()) { p.rect.bottom.set(default_rect.mBottom, false); + p.rect.paramChanged(p.rect.bottom, true); } if (!p.rect.top.isProvided()) { p.rect.top.set(default_rect.mTop, false); + p.rect.paramChanged(p.rect.top, true); } if (!p.rect.right.isProvided()) { p.rect.right.set(default_rect.mRight, false); + p.rect.paramChanged(p.rect.right, true); + } if (!p.rect.width.isProvided()) { p.rect.width.set(default_rect.getWidth(), false); + p.rect.paramChanged(p.rect.width, true); } if (!p.rect.height.isProvided()) { p.rect.height.set(default_rect.getHeight(), false); + p.rect.paramChanged(p.rect.height, true); } } } |