summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/lloutfitgallery.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/lloutfitgallery.cpp b/indra/newview/lloutfitgallery.cpp
index 9a9993f58c..c553d3d338 100644
--- a/indra/newview/lloutfitgallery.cpp
+++ b/indra/newview/lloutfitgallery.cpp
@@ -161,8 +161,8 @@ void LLOutfitGallery::reArrangeRows(S32 row_diff)
void LLOutfitGallery::updateGalleryWidth()
{
- mRowPanelWidth = mRowPanWidthFactor * mItemsInRow;
- mGalleryWidth = mGalleryWidthFactor * mItemsInRow;
+ mRowPanelWidth = mRowPanWidthFactor * mItemsInRow - mItemHorizontalGap;
+ mGalleryWidth = mGalleryWidthFactor * mItemsInRow - mItemHorizontalGap;
}
LLPanel* LLOutfitGallery::addLastRow()