diff options
Diffstat (limited to 'indra/newview/llsidepanelappearance.cpp')
-rw-r--r-- | indra/newview/llsidepanelappearance.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/newview/llsidepanelappearance.cpp b/indra/newview/llsidepanelappearance.cpp index aeab3e2876..c30997fbdc 100644 --- a/indra/newview/llsidepanelappearance.cpp +++ b/indra/newview/llsidepanelappearance.cpp @@ -234,9 +234,16 @@ void LLSidepanelAppearance::toggleLookInfoPanel(BOOL visible) mNewLookBtn->setVisible(!visible); mOverflowBtn->setVisible(!visible); mCurrLookPanel->setVisible(!visible); + + if (visible) + { + LLRect rect = getRect(); + LLRect new_rect = LLRect(rect.mLeft, rect.mTop, rect.mRight, mTabContainer->getRect().mBottom); + mLookInfo->reshape(new_rect.getWidth(),new_rect.getHeight()); + } } -void LLSidepanelAppearance::toggleWearableEditPanel(BOOL visible, LLWearable *wearable) +void LLPanelAppearance::toggleWearableEditPanel(BOOL visible, LLWearable *wearable) { if (!wearable) { |