summaryrefslogtreecommitdiff
path: root/indra/newview/llinventorylistitem.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2010-08-12 10:12:52 -0700
committerRichard Linden <none@none>2010-08-12 10:12:52 -0700
commit41fe9750c82605ccfbaf8f9b0f08b9068de702d3 (patch)
treed0e6bbffa926edff4d70d87bbf030bf28cd6953a /indra/newview/llinventorylistitem.cpp
parent73f1f43b8bd9ae1c3bc7f96d652c30d772da113b (diff)
parent73952a37ed7a11331154f2f68050286722ec96da (diff)
Automated merge with http://10.1.4.28:8000/
Diffstat (limited to 'indra/newview/llinventorylistitem.cpp')
-rw-r--r--indra/newview/llinventorylistitem.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/indra/newview/llinventorylistitem.cpp b/indra/newview/llinventorylistitem.cpp
index ea57d36c06..b1f5b3be2f 100644
--- a/indra/newview/llinventorylistitem.cpp
+++ b/indra/newview/llinventorylistitem.cpp
@@ -96,9 +96,12 @@ void LLPanelInventoryListItemBase::draw()
if (mSeparatorVisible && mSeparatorImage)
{
- // stretch along bottom of listitem, using image height
+ // place under bottom of listitem, using image height
+ // item_pad in list using the item should be >= image height
+ // to avoid cropping of top of the next item.
LLRect separator_rect = getLocalRect();
- separator_rect.mTop = mSeparatorImage->getHeight();
+ separator_rect.mTop = separator_rect.mBottom;
+ separator_rect.mBottom -= mSeparatorImage->getHeight();
mSeparatorImage->draw(separator_rect);
}