From 4e5c478e709ed6a068258c57337c4162298748b2 Mon Sep 17 00:00:00 2001 From: auria Date: Wed, 18 Apr 2012 23:00:53 +0000 Subject: [PATCH] Minor tweak : reduce spinner height when height is computer from label height. Too much vertical space was waster git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@11128 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/guiengine/widgets/spinner_widget.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/guiengine/widgets/spinner_widget.hpp b/src/guiengine/widgets/spinner_widget.hpp index 71cffe6ee..7dfd80032 100644 --- a/src/guiengine/widgets/spinner_widget.hpp +++ b/src/guiengine/widgets/spinner_widget.hpp @@ -89,7 +89,7 @@ namespace GUIEngine /** When inferring widget size from its label length, this method will be called to * if/how much space must be added to the raw label's size for the widget to be large enough */ - virtual int getHeightNeededAroundLabel() const { return 16; } + virtual int getHeightNeededAroundLabel() const { return 8; } /** Call only if this spinner is graphical. Returns the current texture to display */ irr::video::ITexture* getTexture();