diff options
author | Sergei Litovchuk <slitovchuk@productengine.com> | 2009-11-09 18:50:55 +0200 |
---|---|---|
committer | Sergei Litovchuk <slitovchuk@productengine.com> | 2009-11-09 18:50:55 +0200 |
commit | 9c5d1fd3bd9f9cfb20341b9fb7b1046784206432 (patch) | |
tree | 527899bcfab321f7efeae76c3881c3b724e0a871 /indra/newview | |
parent | b56f497098aca38ce8f0023b297dfd7171f8d7f4 (diff) |
- Reverted fix for normal bug EXT-2016 "Place Profile panel isn't resized". The reason is that some unnecessary free space is left in Place Profile panel.
- Cleaned up obsolete code from Place Profile panel.
--HG--
branch : product-engine
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llpanelplaceinfo.cpp | 8 | ||||
-rw-r--r-- | indra/newview/llpanelplaceinfo.h | 1 | ||||
-rw-r--r-- | indra/newview/skins/default/xui/en/panel_place_profile.xml | 2 |
3 files changed, 2 insertions, 9 deletions
diff --git a/indra/newview/llpanelplaceinfo.cpp b/indra/newview/llpanelplaceinfo.cpp index 906f8d084b..963d39de8a 100644 --- a/indra/newview/llpanelplaceinfo.cpp +++ b/indra/newview/llpanelplaceinfo.cpp @@ -41,7 +41,6 @@ #include "llsdutil_math.h" #include "lliconctrl.h" -#include "llscrollcontainer.h" #include "lltextbox.h" #include "llagent.h" @@ -58,8 +57,7 @@ LLPanelPlaceInfo::LLPanelPlaceInfo() : LLPanel(), mParcelID(), mRequestedID(), - mPosRegion(), - mMinHeight(0) + mPosRegion() {} //virtual @@ -85,10 +83,6 @@ BOOL LLPanelPlaceInfo::postBuild() mMaturityRatingIcon = getChild<LLIconCtrl>("maturity_icon"); mMaturityRatingText = getChild<LLTextBox>("maturity_value"); - LLScrollContainer* scroll_container = getChild<LLScrollContainer>("place_scroll"); - scroll_container->setBorderVisible(FALSE); - mMinHeight = scroll_container->getScrolledViewRect().getHeight(); - return TRUE; } diff --git a/indra/newview/llpanelplaceinfo.h b/indra/newview/llpanelplaceinfo.h index ba32cc4c34..133933a880 100644 --- a/indra/newview/llpanelplaceinfo.h +++ b/indra/newview/llpanelplaceinfo.h @@ -110,7 +110,6 @@ protected: LLUUID mRequestedID; LLVector3 mPosRegion; std::string mCurrentTitle; - S32 mMinHeight; INFO_TYPE mInfoType; LLTextBox* mTitle; diff --git a/indra/newview/skins/default/xui/en/panel_place_profile.xml b/indra/newview/skins/default/xui/en/panel_place_profile.xml index d3eb548207..b5ae05fe6c 100644 --- a/indra/newview/skins/default/xui/en/panel_place_profile.xml +++ b/indra/newview/skins/default/xui/en/panel_place_profile.xml @@ -172,7 +172,7 @@ width="313"> <panel bg_alpha_color="DkGray2" - follows="top|left|right" + follows="all" height="533" layout="topleft" left="0" |