summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2016-04-22 18:21:18 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2016-04-22 18:21:18 +0300
commitf70be72ad614f2e7b2b2773c413249137662f570 (patch)
tree6bdb04832abd4da9c9e70f51525110c312312e69
parent8d265cd59f0c141ae5fb5eadc0ef5e9007a38e29 (diff)
MAINT-6303 Width was changed to appropriate value
-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()