From 67df523f1013e4e30a73976ad7c6a7aea33a9245 Mon Sep 17 00:00:00 2001 From: Shyotl Date: Sat, 22 Jun 2013 17:27:09 -0500 Subject: [PATCH] LLChatBar can't betreated as a LLPanel and a LLLayoutPanel at the same time. Demoted to just an LLPanel (fixes issues with follow attribute). --- indra/newview/llchatbar.cpp | 2 +- indra/newview/llchatbar.h | 3 +-- .../skins/default/xui/en-us/panel_chat_bar.xml | 2 +- .../skins/default/xui/en-us/panel_overlaybar.xml | 11 +++++++---- .../newview/skins/default/xui/es/panel_overlaybar.xml | 4 +++- .../newview/skins/default/xui/fr/panel_overlaybar.xml | 4 +++- 6 files changed, 16 insertions(+), 10 deletions(-) diff --git a/indra/newview/llchatbar.cpp b/indra/newview/llchatbar.cpp index 2bdee1697..6fdd7d0f9 100644 --- a/indra/newview/llchatbar.cpp +++ b/indra/newview/llchatbar.cpp @@ -111,7 +111,7 @@ private: // LLChatBar::LLChatBar() -: LLLayoutPanel(), +: LLPanel(), mInputEditor(NULL), mGestureLabelTimer(), mLastSpecialChatChannel(0), diff --git a/indra/newview/llchatbar.h b/indra/newview/llchatbar.h index 1baa15afa..b031e312a 100644 --- a/indra/newview/llchatbar.h +++ b/indra/newview/llchatbar.h @@ -46,8 +46,7 @@ class LLFrameTimer; class LLChatBarGestureObserver; class LLComboBox; -class LLChatBar -: public LLLayoutPanel +class LLChatBar : public LLPanel { public: // constructor for inline chat-bars (e.g. hosted in chat history window) diff --git a/indra/newview/skins/default/xui/en-us/panel_chat_bar.xml b/indra/newview/skins/default/xui/en-us/panel_chat_bar.xml index 09c2914d1..f223ca2ba 100644 --- a/indra/newview/skins/default/xui/en-us/panel_chat_bar.xml +++ b/indra/newview/skins/default/xui/en-us/panel_chat_bar.xml @@ -1,5 +1,5 @@ - diff --git a/indra/newview/skins/default/xui/en-us/panel_overlaybar.xml b/indra/newview/skins/default/xui/en-us/panel_overlaybar.xml index c9687b8c6..4fb9d4d4a 100644 --- a/indra/newview/skins/default/xui/en-us/panel_overlaybar.xml +++ b/indra/newview/skins/default/xui/en-us/panel_overlaybar.xml @@ -42,10 +42,13 @@ label="Cancel TP" label_selected="Cancel TP" left="571" name="Cancel TP" scale_image="true" tool_tip="Click here to cancel the current teleport process." width="102" /> - + + +