(svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars

This commit is contained in:
rubidium
2009-11-22 11:24:30 +00:00
parent f106bbbe5c
commit c227abd7c3
6 changed files with 8 additions and 8 deletions

View File

@@ -113,7 +113,7 @@ static const NWidgetPart _nested_build_industry_widgets[] = {
EndContainer(),
NWidget(NWID_HORIZONTAL),
NWidget(WWT_MATRIX, COLOUR_DARK_GREEN, DPIW_MATRIX_WIDGET), SetDataTip(0x801, STR_FUND_INDUSTRY_SELECTION_TOOLTIP), SetFill(true, false), SetResize(1, 1),
NWidget(WWT_SCROLLBAR, COLOUR_DARK_GREEN, DPIW_SCROLLBAR), SetResize(0, 1),
NWidget(WWT_SCROLLBAR, COLOUR_DARK_GREEN, DPIW_SCROLLBAR),
EndContainer(),
NWidget(WWT_PANEL, COLOUR_DARK_GREEN, DPIW_INFOPANEL), SetResize(1, 0),
EndContainer(),
@@ -863,7 +863,7 @@ static const NWidgetPart _nested_industry_directory_widgets[] = {
EndContainer(),
EndContainer(),
NWidget(NWID_VERTICAL),
NWidget(WWT_SCROLLBAR, COLOUR_BROWN, IDW_SCROLLBAR), SetResize(0, 1),
NWidget(WWT_SCROLLBAR, COLOUR_BROWN, IDW_SCROLLBAR),
NWidget(WWT_RESIZEBOX, COLOUR_BROWN, IDW_RESIZE),
EndContainer(),
EndContainer(),