summaryrefslogtreecommitdiff
path: root/indra/llui/lltooltip.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llui/lltooltip.cpp')
-rw-r--r--indra/llui/lltooltip.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llui/lltooltip.cpp b/indra/llui/lltooltip.cpp
index 8f5c029816..d742281f30 100644
--- a/indra/llui/lltooltip.cpp
+++ b/indra/llui/lltooltip.cpp
@@ -189,7 +189,7 @@ LLToolTip::LLToolTip(const LLToolTip::Params& p)
addChild(LLUICtrlFactory::create<LLIconCtrl>(icon_params));
// move text over to fit image in
- mTextBox->translate(TOOLTIP_ICON_SIZE,0);
+ mTextBox->translate(TOOLTIP_ICON_SIZE + mPadding, 0);
}
if (p.click_callback.isProvided())