summaryrefslogtreecommitdiff
path: root/src/widgets/dropdown_type.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2009-03-28 12:47:29 +0000
committerpeter1138 <peter1138@openttd.org>2009-03-28 12:47:29 +0000
commitf30f5607e33e47ca9a9fca1250a13c02d7bdb931 (patch)
tree49ca20a424ccfa5b1af7564accac39aa451c605b /src/widgets/dropdown_type.h
parent1d9c362dda233bb22919e43bdf23a2bdf265eb73 (diff)
downloadopenttd-f30f5607e33e47ca9a9fca1250a13c02d7bdb931.tar.xz
(svn r15877) -Codechange: Let drop down lists know about font height.
Diffstat (limited to 'src/widgets/dropdown_type.h')
-rw-r--r--src/widgets/dropdown_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dropdown_type.h b/src/widgets/dropdown_type.h
index 594cabe7e..279217b7b 100644
--- a/src/widgets/dropdown_type.h
+++ b/src/widgets/dropdown_type.h
@@ -21,7 +21,7 @@ public:
virtual ~DropDownListItem() {}
virtual bool Selectable() const { return false; }
- virtual uint Height(uint width) const { return 10; }
+ virtual uint Height(uint width) const { return FONT_HEIGHT_NORMAL; }
virtual uint Width() const { return 0; }
virtual void Draw(int left, int right, int top, int bottom, bool sel, int bg_colour) const;
};