summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-05-26 21:40:52 +0000
committerpeter1138 <peter1138@openttd.org>2008-05-26 21:40:52 +0000
commit88f2ef652e5321c9230eb3e55cf082d5392cdada (patch)
tree69d9c7a68fd4400f2747a6991e244c025f990155 /src/widgets
parent495ca8fdb9e658ebcdb8aa90bafc2df107819ea9 (diff)
downloadopenttd-88f2ef652e5321c9230eb3e55cf082d5392cdada.tar.xz
(svn r13278) -Fix: Missing call to FindWindowPlacementAndResize() for drop down lists
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/dropdown.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp
index b9857ddaf..c16e4a367 100644
--- a/src/widgets/dropdown.cpp
+++ b/src/widgets/dropdown.cpp
@@ -74,6 +74,7 @@ struct DropdownWindow : Window {
DropdownWindow(int x, int y, int width, int height, const Widget *widget) : Window(x, y, width, height, WC_DROPDOWN_MENU, widget)
{
+ this->FindWindowPlacementAndResize(width, height);
}
~DropdownWindow()