mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-08 23:34:15 +00:00
(svn r24202) -Change: Make the size of the details in the autoreplace GUI match more the size of the details in the purchase list.
This commit is contained in:
parent
a9165d3f32
commit
bd4f090730
@ -546,8 +546,8 @@ static const NWidgetPart _nested_replace_rail_vehicle_widgets[] = {
|
|||||||
NWidget(NWID_VSCROLLBAR, COLOUR_GREY, WID_RV_RIGHT_SCROLLBAR),
|
NWidget(NWID_VSCROLLBAR, COLOUR_GREY, WID_RV_RIGHT_SCROLLBAR),
|
||||||
EndContainer(),
|
EndContainer(),
|
||||||
NWidget(NWID_HORIZONTAL, NC_EQUALSIZE),
|
NWidget(NWID_HORIZONTAL, NC_EQUALSIZE),
|
||||||
NWidget(WWT_PANEL, COLOUR_GREY, WID_RV_LEFT_DETAILS), SetMinimalSize(228, 102), SetResize(1, 0), EndContainer(),
|
NWidget(WWT_PANEL, COLOUR_GREY, WID_RV_LEFT_DETAILS), SetMinimalSize(240, 122), SetResize(1, 0), EndContainer(),
|
||||||
NWidget(WWT_PANEL, COLOUR_GREY, WID_RV_RIGHT_DETAILS), SetMinimalSize(228, 102), SetResize(1, 0), EndContainer(),
|
NWidget(WWT_PANEL, COLOUR_GREY, WID_RV_RIGHT_DETAILS), SetMinimalSize(240, 122), SetResize(1, 0), EndContainer(),
|
||||||
EndContainer(),
|
EndContainer(),
|
||||||
NWidget(NWID_HORIZONTAL),
|
NWidget(NWID_HORIZONTAL),
|
||||||
NWidget(NWID_PUSHBUTTON_DROPDOWN, COLOUR_GREY, WID_RV_START_REPLACE), SetMinimalSize(139, 12), SetDataTip(STR_REPLACE_VEHICLES_START, STR_REPLACE_HELP_START_BUTTON),
|
NWidget(NWID_PUSHBUTTON_DROPDOWN, COLOUR_GREY, WID_RV_START_REPLACE), SetMinimalSize(139, 12), SetDataTip(STR_REPLACE_VEHICLES_START, STR_REPLACE_HELP_START_BUTTON),
|
||||||
@ -566,7 +566,7 @@ static const NWidgetPart _nested_replace_rail_vehicle_widgets[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static const WindowDesc _replace_rail_vehicle_desc(
|
static const WindowDesc _replace_rail_vehicle_desc(
|
||||||
WDP_AUTO, 456, 140,
|
WDP_AUTO, 500, 140,
|
||||||
WC_REPLACE_VEHICLE, WC_NONE,
|
WC_REPLACE_VEHICLE, WC_NONE,
|
||||||
WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION,
|
WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION,
|
||||||
_nested_replace_rail_vehicle_widgets, lengthof(_nested_replace_rail_vehicle_widgets)
|
_nested_replace_rail_vehicle_widgets, lengthof(_nested_replace_rail_vehicle_widgets)
|
||||||
|
Loading…
Reference in New Issue
Block a user