summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2014-07-08 20:06:45 +0000
committerfrosch <frosch@openttd.org>2014-07-08 20:06:45 +0000
commitc3c966fd79b07020436849466706fc50e0306a3d (patch)
treea6601d19ec0e80b343bb7e3e8d56fb6c5522abcb /src
parent175ecc4b436756c99dfc7b7a357e5b9ca042cde6 (diff)
downloadopenttd-c3c966fd79b07020436849466706fc50e0306a3d.tar.xz
(svn r26678) -Codechange: Simplify settings widget layout. (Juanjo)
Diffstat (limited to 'src')
-rw-r--r--src/settings_gui.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/settings_gui.cpp b/src/settings_gui.cpp
index ccc8ff8e6..958db55ac 100644
--- a/src/settings_gui.cpp
+++ b/src/settings_gui.cpp
@@ -2314,9 +2314,7 @@ static const NWidgetPart _nested_settings_selection_widgets[] = {
EndContainer(),
NWidget(NWID_HORIZONTAL),
NWidget(WWT_PANEL, COLOUR_MAUVE, WID_GS_OPTIONSPANEL), SetMinimalSize(400, 174), SetScrollbar(WID_GS_SCROLLBAR), EndContainer(),
- NWidget(NWID_VERTICAL),
- NWidget(NWID_VSCROLLBAR, COLOUR_MAUVE, WID_GS_SCROLLBAR),
- EndContainer(),
+ NWidget(NWID_VSCROLLBAR, COLOUR_MAUVE, WID_GS_SCROLLBAR),
EndContainer(),
NWidget(WWT_PANEL, COLOUR_MAUVE), SetMinimalSize(400, 40),
NWidget(WWT_EMPTY, INVALID_COLOUR, WID_GS_HELP_TEXT), SetMinimalSize(300, 25), SetFill(1, 1), SetResize(1, 0),