diff options
| author | AlexanderP ProductEngine <apaschenko@productengine.com> | 2013-02-18 16:36:55 +0200 | 
|---|---|---|
| committer | AlexanderP ProductEngine <apaschenko@productengine.com> | 2013-02-18 16:36:55 +0200 | 
| commit | 927fcf5d0b6eac067e40ac415b3a5ce10dbc4903 (patch) | |
| tree | 95d6ab24cbf247b75d3824695ee89df1df5a9c8d /indra | |
| parent | 0cd94a4dd563fc7e4ce3c43a187d9e099f4d927b (diff) | |
CHUI-768 Conversation panel resize issue with message panel collapsed : manually resize of the conversations panel
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/newview/llfloaterimcontainer.cpp | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/indra/newview/llfloaterimcontainer.cpp b/indra/newview/llfloaterimcontainer.cpp index 2f2b09b589..c1959729d1 100644 --- a/indra/newview/llfloaterimcontainer.cpp +++ b/indra/newview/llfloaterimcontainer.cpp @@ -535,6 +535,13 @@ void LLFloaterIMContainer::draw()  		setTitle(conversation_floaterp && conversation_floaterp->needsTitleOverwrite() ? conversation_floaterp->getTitle() : mGeneralTitle);  	} +    // "Manually" resize of mConversationsPane: same as temporarity cancellation of the flag "auto_resize=false" for it +	if (!mConversationsPane->isCollapsed() && mMessagesPane->isCollapsed()) +	{ +		LLRect stack_rect = mConversationsStack->getRect(); +		mConversationsPane->reshape(stack_rect.getWidth(), stack_rect.getHeight(), true); +	} +  	LLFloater::draw();  } @@ -654,6 +661,8 @@ void LLFloaterIMContainer::collapseMessagesPane(bool collapse)  		gSavedPerAccountSettings.setBOOL("ConversationsExpandMessagePaneFirst", mConversationsPane->isCollapsed());  	} +	mConversationsPane->setIgnoreReshape(collapse); +  	// Show/hide the messages pane.  	mConversationsStack->collapsePanel(mMessagesPane, collapse); | 
