(svn r18324) -Codechange: there's no need for a default size when the window isn't resizable
This commit is contained in:
@@ -1522,7 +1522,7 @@ const StringID SelectCompanyManagerFaceWindow::PART_TEXTS[] = {
|
||||
|
||||
/** Company manager face selection window description */
|
||||
static const WindowDesc _select_company_manager_face_desc(
|
||||
WDP_AUTO, 190, 163,
|
||||
WDP_AUTO, 0, 0,
|
||||
WC_COMPANY_MANAGER_FACE, WC_NONE,
|
||||
WDF_UNCLICK_BUTTONS | WDF_CONSTRUCTION,
|
||||
_nested_select_company_manager_face_widgets, lengthof(_nested_select_company_manager_face_widgets)
|
||||
@@ -2008,7 +2008,7 @@ struct CompanyWindow : Window
|
||||
};
|
||||
|
||||
static const WindowDesc _company_desc(
|
||||
WDP_AUTO, 360, 170,
|
||||
WDP_AUTO, 0, 0,
|
||||
WC_COMPANY, WC_NONE,
|
||||
WDF_UNCLICK_BUTTONS,
|
||||
_nested_company_widgets, lengthof(_nested_company_widgets)
|
||||
@@ -2118,7 +2118,7 @@ static const NWidgetPart _nested_buy_company_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _buy_company_desc(
|
||||
WDP_AUTO, 334, 137,
|
||||
WDP_AUTO, 0, 0,
|
||||
WC_BUY_COMPANY, WC_NONE,
|
||||
WDF_CONSTRUCTION,
|
||||
_nested_buy_company_widgets, lengthof(_nested_buy_company_widgets)
|
||||
|
Reference in New Issue
Block a user