summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/speechbubble.cpp2
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();