From 087ea1cef62d383821e8e340551e757cb604b553 Mon Sep 17 00:00:00 2001 From: Sergei Litovchuk Date: Thu, 25 Feb 2010 18:47:28 +0200 Subject: Fixed normal bug (EXT-5748) Useless area on Place Profile panel. - Reduced unused size in Place Profile and Landmark Info panels. --HG-- branch : product-engine --- indra/newview/llpanelplaceinfo.cpp | 2 +- indra/newview/skins/default/xui/en/panel_landmark_info.xml | 4 ++-- indra/newview/skins/default/xui/en/panel_place_profile.xml | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'indra') diff --git a/indra/newview/llpanelplaceinfo.cpp b/indra/newview/llpanelplaceinfo.cpp index 9ebc8ca2b9..f6133d4446 100644 --- a/indra/newview/llpanelplaceinfo.cpp +++ b/indra/newview/llpanelplaceinfo.cpp @@ -256,7 +256,7 @@ void LLPanelPlaceInfo::reshape(S32 width, S32 height, BOOL called_from_parent) static LLUICachedControl scrollbar_size ("UIScrollbarSize", 0); S32 scroll_height = mScrollContainer->getRect().getHeight(); - if (mScrollingPanelMinHeight >= scroll_height) + if (mScrollingPanelMinHeight > scroll_height) { mScrollingPanel->reshape(mScrollingPanelWidth, mScrollingPanelMinHeight); } diff --git a/indra/newview/skins/default/xui/en/panel_landmark_info.xml b/indra/newview/skins/default/xui/en/panel_landmark_info.xml index 66070c028d..befeb182f9 100644 --- a/indra/newview/skins/default/xui/en/panel_landmark_info.xml +++ b/indra/newview/skins/default/xui/en/panel_landmark_info.xml @@ -89,13 +89,13 @@ + width="310"> + width="310">