(svn r25864) -Fix: Use the actual sprite dimensions for sizing the dropdown arrow of dropdown widgets.

This commit is contained in:
frosch
2013-10-13 19:18:30 +00:00
parent d9717c0b01
commit 12ddbb7cb1
5 changed files with 26 additions and 15 deletions

View File

@@ -777,6 +777,8 @@ public:
bool ButtonHit(const Point &pt);
static void InvalidateDimensionCache();
static Dimension dropdown_dimension; ///< Cached size of a dropdown widget.
private:
static Dimension shadebox_dimension; ///< Cached size of a shadebox widget.
static Dimension debugbox_dimension; ///< Cached size of a debugbox widget.