summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-28 14:36:43 +0000
committerrubidium <rubidium@openttd.org>2009-11-28 14:36:43 +0000
commitb58b058e2b254cb375ebc2ec67c1ac307e6aeb87 (patch)
tree5e021c897eeb9101c4dd0048be16d860fd9cf14d /src/widgets
parent6a367fda8a7f8e563310f7254d612dbb0010d919 (diff)
downloadopenttd-b58b058e2b254cb375ebc2ec67c1ac307e6aeb87.tar.xz
(svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top location based on the main toolbar's height instead of hardcoding that
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/dropdown.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/dropdown.cpp b/src/widgets/dropdown.cpp
index 80959f155..d42c54386 100644
--- a/src/widgets/dropdown.cpp
+++ b/src/widgets/dropdown.cpp
@@ -83,7 +83,7 @@ static const NWidgetPart _nested_dropdown_menu_widgets[] = {
};
const WindowDesc _dropdown_desc(
- 0, 0, 0, 0, // x/y position not used.
+ WDP_MANUAL, WDP_MANUAL, 0, 0, // x/y position not used.
WC_DROPDOWN_MENU, WC_NONE,
0,
_nested_dropdown_menu_widgets, lengthof(_nested_dropdown_menu_widgets)