summaryrefslogtreecommitdiff
path: root/indra/llui/llfolderviewitem.cpp
diff options
context:
space:
mode:
authorGilbert Gonzales <gilbert@lindenlab.com>2012-09-13 11:22:41 -0700
committerGilbert Gonzales <gilbert@lindenlab.com>2012-09-13 11:22:41 -0700
commit2084d33c1ec827b4e8d975a3bf1232e971f704e2 (patch)
tree05aa294be59e490bb33bbbb020adeae69a7ff08a /indra/llui/llfolderviewitem.cpp
parent366a265e785ddc5eb5ab01af1bf1b604ece59d88 (diff)
CHUI-283: Now the information icon only appears upon mousehover. Also the information/speaker icon are right justified.
Diffstat (limited to 'indra/llui/llfolderviewitem.cpp')
-rwxr-xr-xindra/llui/llfolderviewitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/llfolderviewitem.cpp b/indra/llui/llfolderviewitem.cpp
index c46af27a04..155a605c3b 100755
--- a/indra/llui/llfolderviewitem.cpp
+++ b/indra/llui/llfolderviewitem.cpp
@@ -771,7 +771,7 @@ void LLFolderViewItem::draw()
//
font->renderUTF8(mLabel, 0, text_left, y, color,
LLFontGL::LEFT, LLFontGL::BOTTOM, LLFontGL::NORMAL, LLFontGL::NO_SHADOW,
- S32_MAX, getRect().getWidth() - (S32) text_left, &right_x, TRUE);
+ S32_MAX, getRect().getWidth() - (S32) text_left - TEXT_PAD_RIGHT, &right_x, TRUE);
//--------------------------------------------------------------------------------//
// Draw label suffix