diff options
author | Richard Linden <none@none> | 2010-08-25 16:46:37 -0700 |
---|---|---|
committer | Richard Linden <none@none> | 2010-08-25 16:46:37 -0700 |
commit | 92db224e8624c22eb9e8516662685c68cb819e69 (patch) | |
tree | d699e35f5391258f1e2f3aadbac7254996646852 /indra/llui/lllayoutstack.cpp | |
parent | 8641cba93b05936b1af0da749df5ed3b1b86f8e3 (diff) |
fixed regressions from changing layout panel to be a derived widget class
Diffstat (limited to 'indra/llui/lllayoutstack.cpp')
-rw-r--r-- | indra/llui/lllayoutstack.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/llui/lllayoutstack.cpp b/indra/llui/lllayoutstack.cpp index 92c8416cbc..15a0369eb9 100644 --- a/indra/llui/lllayoutstack.cpp +++ b/indra/llui/lllayoutstack.cpp @@ -65,6 +65,13 @@ LLLayoutPanel::LLLayoutPanel(const Params& p) } } +void LLLayoutPanel::initFromParams(const Params& p) +{ + LLPanel::initFromParams(p); + setFollowsNone(); +} + + LLLayoutPanel::~LLLayoutPanel() { // probably not necessary, but... @@ -663,7 +670,7 @@ void LLLayoutStack::createResizeBars() LLResizeBar::Params resize_params; resize_params.name("resize"); - resize_params.resizing_view(this); + resize_params.resizing_view(lp); resize_params.min_size(lp->mMinDim); resize_params.side(side); resize_params.snapping_enabled(false); |