Align construction windows with main toolbar.
This commit is contained in:
@@ -402,7 +402,7 @@ static const NWidgetPart _nested_build_docks_scen_toolbar_widgets[] = {
|
|||||||
|
|
||||||
/** Window definition for the build docks in scenario editor window. */
|
/** Window definition for the build docks in scenario editor window. */
|
||||||
static WindowDesc _build_docks_scen_toolbar_desc(
|
static WindowDesc _build_docks_scen_toolbar_desc(
|
||||||
WDP_AUTO, "toolbar_water_scen", 0, 0,
|
WDP_ALIGN_TOOLBAR, "toolbar_water_scen", 0, 0,
|
||||||
WC_SCEN_BUILD_TOOLBAR, WC_NONE,
|
WC_SCEN_BUILD_TOOLBAR, WC_NONE,
|
||||||
WDF_CONSTRUCTION,
|
WDF_CONSTRUCTION,
|
||||||
_nested_build_docks_scen_toolbar_widgets, lengthof(_nested_build_docks_scen_toolbar_widgets)
|
_nested_build_docks_scen_toolbar_widgets, lengthof(_nested_build_docks_scen_toolbar_widgets)
|
||||||
|
|||||||
@@ -189,7 +189,7 @@ static const NWidgetPart _nested_build_industry_widgets[] = {
|
|||||||
|
|
||||||
/** Window definition of the dynamic place industries gui */
|
/** Window definition of the dynamic place industries gui */
|
||||||
static WindowDesc _build_industry_desc(
|
static WindowDesc _build_industry_desc(
|
||||||
WDP_AUTO, "build_industry", 170, 212,
|
WDP_ALIGN_TOOLBAR, "build_industry", 170, 212,
|
||||||
WC_BUILD_INDUSTRY, WC_NONE,
|
WC_BUILD_INDUSTRY, WC_NONE,
|
||||||
WDF_CONSTRUCTION,
|
WDF_CONSTRUCTION,
|
||||||
_nested_build_industry_widgets, lengthof(_nested_build_industry_widgets)
|
_nested_build_industry_widgets, lengthof(_nested_build_industry_widgets)
|
||||||
|
|||||||
@@ -833,7 +833,7 @@ static const NWidgetPart _nested_build_road_scen_widgets[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static WindowDesc _build_road_scen_desc(
|
static WindowDesc _build_road_scen_desc(
|
||||||
WDP_AUTO, "toolbar_road_scen", 0, 0,
|
WDP_ALIGN_TOOLBAR, "toolbar_road_scen", 0, 0,
|
||||||
WC_SCEN_BUILD_TOOLBAR, WC_NONE,
|
WC_SCEN_BUILD_TOOLBAR, WC_NONE,
|
||||||
WDF_CONSTRUCTION,
|
WDF_CONSTRUCTION,
|
||||||
_nested_build_road_scen_widgets, lengthof(_nested_build_road_scen_widgets),
|
_nested_build_road_scen_widgets, lengthof(_nested_build_road_scen_widgets),
|
||||||
|
|||||||
@@ -748,7 +748,7 @@ static Hotkey terraform_editor_hotkeys[] = {
|
|||||||
HotkeyList ScenarioEditorLandscapeGenerationWindow::hotkeys("terraform_editor", terraform_editor_hotkeys, TerraformToolbarEditorGlobalHotkeys);
|
HotkeyList ScenarioEditorLandscapeGenerationWindow::hotkeys("terraform_editor", terraform_editor_hotkeys, TerraformToolbarEditorGlobalHotkeys);
|
||||||
|
|
||||||
static WindowDesc _scen_edit_land_gen_desc(
|
static WindowDesc _scen_edit_land_gen_desc(
|
||||||
WDP_AUTO, "toolbar_landscape_scen", 0, 0,
|
WDP_ALIGN_TOOLBAR, "toolbar_landscape_scen", 0, 0,
|
||||||
WC_SCEN_LAND_GEN, WC_NONE,
|
WC_SCEN_LAND_GEN, WC_NONE,
|
||||||
WDF_CONSTRUCTION,
|
WDF_CONSTRUCTION,
|
||||||
_nested_scen_edit_land_gen_widgets, lengthof(_nested_scen_edit_land_gen_widgets),
|
_nested_scen_edit_land_gen_widgets, lengthof(_nested_scen_edit_land_gen_widgets),
|
||||||
|
|||||||
@@ -1201,7 +1201,7 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
static WindowDesc _found_town_desc(
|
static WindowDesc _found_town_desc(
|
||||||
WDP_AUTO, "build_town", 160, 162,
|
WDP_ALIGN_TOOLBAR, "build_town", 160, 162,
|
||||||
WC_FOUND_TOWN, WC_NONE,
|
WC_FOUND_TOWN, WC_NONE,
|
||||||
WDF_CONSTRUCTION,
|
WDF_CONSTRUCTION,
|
||||||
_nested_found_town_widgets, lengthof(_nested_found_town_widgets)
|
_nested_found_town_widgets, lengthof(_nested_found_town_widgets)
|
||||||
|
|||||||
Reference in New Issue
Block a user