diff options
Diffstat (limited to 'src/gui/speechbubble.cpp')
-rw-r--r-- | src/gui/speechbubble.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/speechbubble.cpp b/src/gui/speechbubble.cpp index 615bbe77..c74ae4a3 100644 --- a/src/gui/speechbubble.cpp +++ b/src/gui/speechbubble.cpp @@ -80,7 +80,7 @@ void SpeechBubble::setText(std::string text, bool showName) const int fontHeight = getFont()->getHeight(); const int nameHeight = showName ? mCaption->getHeight() + - getPadding() : 0; + (getPadding() / 2) : 0; const int numRows = mSpeechBox->getNumberOfRows(); const int height = (numRows * fontHeight) + nameHeight + getPadding(); |