(svn r18321) -Fix [FS#3331]: make the toolbars also calculate their top location based on the main toolbar's height instead of hardcoding that

This commit is contained in:
rubidium
2009-11-28 14:36:43 +00:00
parent 6a367fda8a
commit b58b058e2b
7 changed files with 14 additions and 22 deletions

View File

@@ -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)