summaryrefslogtreecommitdiff
path: root/src/industry_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-22 11:24:30 +0000
committerrubidium <rubidium@openttd.org>2009-11-22 11:24:30 +0000
commit8204f226f13900d404a00197dfd21b31bae81ac9 (patch)
treeb124db1ce93bbd826724ae38c158f459ad387de7 /src/industry_gui.cpp
parentd913282e7a15d65c03df7a41cec14e1514d81fde (diff)
downloadopenttd-8204f226f13900d404a00197dfd21b31bae81ac9.tar.xz
(svn r18213) -Codechange: it's not needed to manually set the fill, (re)size and tooltip for scrollbars
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r--src/industry_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index 7c9f6f051..107b209bc 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -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(),