summaryrefslogtreecommitdiff
path: root/indra/llui/lltooltip.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2012-08-01 19:42:22 -0700
committerRichard Linden <none@none>2012-08-01 19:42:22 -0700
commitc009cf4f7656ec27347e1e9c740da26c12726c99 (patch)
tree1913ea58d2409160cb11adef01fe390a4c8a763d /indra/llui/lltooltip.cpp
parent898ec6cd362cd92ceef8dca8faf3fb8ed119b1be (diff)
CHUI-223 WIP Selecting to cut an inventory item causes all open inventory windows to refresh
improved filtering behavior that should result in less flashes of emptiness
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 f737d48abf..d4670efedf 100644
--- a/indra/llui/lltooltip.cpp
+++ b/indra/llui/lltooltip.cpp
@@ -288,7 +288,7 @@ void LLToolTip::initFromParams(const LLToolTip::Params& p)
mTextBox->setText(p.message());
}
- S32 text_width = llmin(p.max_width(), mTextBox->getTextPixelWidth());
+ S32 text_width = llmin(p.max_width(), mTextBox->getTextPixelWidth() + 1);
S32 text_height = mTextBox->getTextPixelHeight();
mTextBox->reshape(text_width, text_height);
if (mInfoButton)