summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-10 16:31:14 -0600
committerIra Rice <irarice@gmail.com>2009-03-10 16:31:14 -0600
commit43eca19b045f30c6456dd936b2baddff945cc047 (patch)
tree4517803ea4044429b6629a8d678a62b21e7c2ad3 /src/gui
parent4676d0fe6ee938031ce13a65927718f9b53810cf (diff)
downloadmana-43eca19b045f30c6456dd936b2baddff945cc047.tar.gz
mana-43eca19b045f30c6456dd936b2baddff945cc047.tar.bz2
mana-43eca19b045f30c6456dd936b2baddff945cc047.tar.xz
mana-43eca19b045f30c6456dd936b2baddff945cc047.zip
Set minimum bounds for speech bubbles, based on the skin's minimum
dimensions. Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/speechbubble.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/speechbubble.cpp b/src/gui/speechbubble.cpp
index d54bf9ad..dcb03dca 100644
--- a/src/gui/speechbubble.cpp
+++ b/src/gui/speechbubble.cpp
@@ -39,6 +39,9 @@ SpeechBubble::SpeechBubble():
setShowTitle(false);
setTitleBarHeight(0);
+ setMinWidth(29);
+ setMinHeight(29);
+
mCaption = new gcn::Label("");
mCaption->setFont(boldFont);
mCaption->setPosition(5, 3);