From 12ddbb7cb11ddeba47a6bed8d36bef6432aa3236 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 13 Oct 2013 19:18:30 +0000 Subject: (svn r25864) -Fix: Use the actual sprite dimensions for sizing the dropdown arrow of dropdown widgets. --- src/widget_type.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/widget_type.h') diff --git a/src/widget_type.h b/src/widget_type.h index 60980f28c..6d8b32bc9 100644 --- a/src/widget_type.h +++ b/src/widget_type.h @@ -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. -- cgit v1.2.3-54-g00ecf