summaryrefslogtreecommitdiff
path: root/src/road_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/road_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/road_gui.cpp')
-rw-r--r--src/road_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/road_gui.cpp b/src/road_gui.cpp
index c2a1ad8d4..743c88904 100644
--- a/src/road_gui.cpp
+++ b/src/road_gui.cpp
@@ -661,7 +661,7 @@ static const NWidgetPart _nested_build_road_widgets[] = {
};
static const WindowDesc _build_road_desc(
- WDP_ALIGN_TBR, 22, 263, 36,
+ WDP_ALIGN_TOOLBAR, WDP_ALIGN_TOOLBAR, 263, 36,
WC_BUILD_TOOLBAR, WC_NONE,
WDF_CONSTRUCTION,
_nested_build_road_widgets, lengthof(_nested_build_road_widgets)
@@ -700,7 +700,7 @@ static const NWidgetPart _nested_build_tramway_widgets[] = {
};
static const WindowDesc _build_tramway_desc(
- WDP_ALIGN_TBR, 22, 241, 36,
+ WDP_ALIGN_TOOLBAR, WDP_ALIGN_TOOLBAR, 241, 36,
WC_BUILD_TOOLBAR, WC_NONE,
WDF_CONSTRUCTION,
_nested_build_tramway_widgets, lengthof(_nested_build_tramway_widgets)