summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2016-06-09 17:40:38 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2016-06-09 17:40:38 +0300
commit9adf2dbeb7e7dcc1d3b4188899b58c089f4d99c8 (patch)
tree1224e26705bf9832cc9dd0bf284634cff7190634
parent29078e7696c0cdee21e336ddb701f6c7966a33e0 (diff)
MAINT-6472 Show outfit tooltips in Outfit Gallery. Increase space between image and outfit name.
-rw-r--r--indra/newview/lloutfitgallery.cpp1
-rw-r--r--indra/newview/skins/default/xui/en/panel_outfit_gallery_item.xml4
2 files changed, 3 insertions, 2 deletions
diff --git a/indra/newview/lloutfitgallery.cpp b/indra/newview/lloutfitgallery.cpp
index dcc4d70a2c..224f2b7f49 100644
--- a/indra/newview/lloutfitgallery.cpp
+++ b/indra/newview/lloutfitgallery.cpp
@@ -666,6 +666,7 @@ void LLOutfitGalleryItem::draw()
void LLOutfitGalleryItem::setOutfitName(std::string name)
{
mOutfitNameText->setText(name);
+ mOutfitNameText->setToolTip(name);
mOutfitName = name;
}
diff --git a/indra/newview/skins/default/xui/en/panel_outfit_gallery_item.xml b/indra/newview/skins/default/xui/en/panel_outfit_gallery_item.xml
index 77c546c6e7..e3f0f1128b 100644
--- a/indra/newview/skins/default/xui/en/panel_outfit_gallery_item.xml
+++ b/indra/newview/skins/default/xui/en/panel_outfit_gallery_item.xml
@@ -49,7 +49,7 @@
height="10"
layout="topleft"
name="outfit_name"
- top="0"
+ top="2"
width="150"
use_ellipses="true">
Summer hipster, Pierce Pierce Pierce Pierce
@@ -62,7 +62,7 @@
height="10"
layout="topleft"
name="outfit_worn_text"
- top="10"
+ top="12"
width="150">
(worn)
</text>