diff options
Diffstat (limited to 'src/gui/speechbubble.cpp')
-rw-r--r-- | src/gui/speechbubble.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/speechbubble.cpp b/src/gui/speechbubble.cpp index 97e3fd73..a6bb5563 100644 --- a/src/gui/speechbubble.cpp +++ b/src/gui/speechbubble.cpp @@ -96,12 +96,12 @@ void SpeechBubble::setText(std::string mText) } else { - int width = mCaption->getWidth() + 8; + int width = mCaption->getWidth() + 3; if (width < getFont()->getWidth(mText)) width = getFont()->getWidth(mText); setContentSize(width + fontHeight, (fontHeight * 2) + 6); mSpeechArea->setDimension(gcn::Rectangle(4, fontHeight + 3, - width + 5, fontHeight)); + width, fontHeight)); } } |