summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/button.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-15 17:39:57 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-15 17:39:57 +0300
commit5658a770c18b99807e4a598e7dc70ea3f765ba81 (patch)
treef61a418fa237f82004a99a03b85a2e80ab01bd8f /src/guichan/widgets/button.cpp
parentb2b348d4baf2891fd82635e068a4f64d2694ba6d (diff)
downloadmv-5658a770c18b99807e4a598e7dc70ea3f765ba81.tar.gz
mv-5658a770c18b99807e4a598e7dc70ea3f765ba81.tar.bz2
mv-5658a770c18b99807e4a598e7dc70ea3f765ba81.tar.xz
mv-5658a770c18b99807e4a598e7dc70ea3f765ba81.zip
Override some methods in guichan listbox.
Diffstat (limited to 'src/guichan/widgets/button.cpp')
-rw-r--r--src/guichan/widgets/button.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/guichan/widgets/button.cpp b/src/guichan/widgets/button.cpp
index 69affd4b7..585b30f13 100644
--- a/src/guichan/widgets/button.cpp
+++ b/src/guichan/widgets/button.cpp
@@ -132,8 +132,6 @@ namespace gcn
void Button::adjustSize()
{
- setWidth(getFont()->getWidth(mCaption) + 2*mSpacing);
- setHeight(getFont()->getHeight() + 2*mSpacing);
}
bool Button::isPressed() const