summaryrefslogtreecommitdiff
path: root/src/airport_gui.cpp
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/airport_gui.cpp
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/airport_gui.cpp')
-rw-r--r--src/airport_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp
index b2f28976b..03b90cdc2 100644
--- a/src/airport_gui.cpp
+++ b/src/airport_gui.cpp
@@ -147,7 +147,7 @@ static const NWidgetPart _nested_air_toolbar_widgets[] = {
};
static const WindowDesc _air_toolbar_desc(
- WDP_ALIGN_TBR, 22, 64, 36,
+ WDP_ALIGN_TOOLBAR, WDP_ALIGN_TOOLBAR, 64, 36,
WC_BUILD_TOOLBAR, WC_NONE,
WDF_CONSTRUCTION,
_nested_air_toolbar_widgets, lengthof(_nested_air_toolbar_widgets)