diff options
author | Steven Bennetts <steve@lindenlab.com> | 2009-07-09 03:40:30 +0000 |
---|---|---|
committer | Steven Bennetts <steve@lindenlab.com> | 2009-07-09 03:40:30 +0000 |
commit | 60ba000989347e92e78f9db7a966ea4e87cecc5b (patch) | |
tree | 04acc7ebf5812a1fd6c7566f3a2fd100ef6fae8b /indra/llui | |
parent | 3df2f5e8c027b96f99b126fb8e6d687703e6bb4a (diff) |
Fixed LLPanel visible and enabled settings.
Set the side panel width to 280.
Changed the code to use the initial width of the side tray instead of the max of the panels.
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llpanel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llui/llpanel.cpp b/indra/llui/llpanel.cpp index 2119ed4daf..de102e47ac 100644 --- a/indra/llui/llpanel.cpp +++ b/indra/llui/llpanel.cpp @@ -418,6 +418,10 @@ LLView* LLPanel::fromXML(LLXMLNodePtr node, LLView* parent, LLXMLNodePtr output_ void LLPanel::initFromParams(const LLPanel::Params& p) { + // The LLPanel constructor doesn't correctly receive Params yet + setEnabled(p.enabled); + setVisible(p.visible); + // control_name, tab_stop, focus_lost_callback, initial_value, rect, enabled, visible LLUICtrl::initFromParams(p); |