diff options
author | Ira Rice <irarice@gmail.com> | 2009-03-28 14:30:45 -0600 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-06 23:18:24 +0200 |
commit | bbebd24b5561e9cd806dca8ccd6fe4b4dcb1301d (patch) | |
tree | 0e40cb2fea12103c8d3526e3d3b4dbe048186542 /src/gui | |
parent | cba63e9483ec8d3024e9c0a16f78c6b20cbae7cc (diff) | |
download | mana-client-bbebd24b5561e9cd806dca8ccd6fe4b4dcb1301d.tar.gz mana-client-bbebd24b5561e9cd806dca8ccd6fe4b4dcb1301d.tar.bz2 mana-client-bbebd24b5561e9cd806dca8ccd6fe4b4dcb1301d.tar.xz mana-client-bbebd24b5561e9cd806dca8ccd6fe4b4dcb1301d.zip |
Another slight adjustment to speech bubble dialog positioning to make
them look a little better aesthetically.
Signed-off-by: Ira Rice <irarice@gmail.com>
Signed-off-by: Bjørn Lindeijer <bjorn@lindeijer.nl>
Diffstat (limited to 'src/gui')
-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(); |