summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-22 19:31:52 +0000
committerrubidium <rubidium@openttd.org>2009-11-22 19:31:52 +0000
commit5c13e0c1e6adb0b5b488c2c370417d0c6deba7d8 (patch)
treef4b31e6bbda0853e41a32439fee0b1de86db67bd /src
parentbd0d32a0b6c37c29d8e4e7753e639cccba38cb4b (diff)
downloadopenttd-5c13e0c1e6adb0b5b488c2c370417d0c6deba7d8.tar.xz
(svn r18241) -Codechange: make the rail depot 'buttons' centered in the window
Diffstat (limited to 'src')
-rw-r--r--src/rail_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp
index c2e697dfc..100d16eda 100644
--- a/src/rail_gui.cpp
+++ b/src/rail_gui.cpp
@@ -1754,7 +1754,7 @@ static const NWidgetPart _nested_build_depot_widgets[] = {
NWidget(WWT_PANEL, COLOUR_DARK_GREEN, BRDW_BACKGROUND),
NWidget(NWID_SPACER), SetMinimalSize(0, 3),
NWidget(NWID_HORIZONTAL_LTR),
- NWidget(NWID_SPACER), SetMinimalSize(3, 0),
+ NWidget(NWID_SPACER), SetMinimalSize(3, 0), SetFill(1, 0),
NWidget(NWID_VERTICAL),
NWidget(WWT_PANEL, COLOUR_GREY, BRDW_DEPOT_NW), SetMinimalSize(66, 50), SetDataTip(0x0, STR_BUILD_DEPOT_TRAIN_ORIENTATION_TOOLTIP),
EndContainer(),
@@ -1770,7 +1770,7 @@ static const NWidgetPart _nested_build_depot_widgets[] = {
NWidget(WWT_PANEL, COLOUR_GREY, BRDW_DEPOT_SE), SetMinimalSize(66, 50), SetDataTip(0x0, STR_BUILD_DEPOT_TRAIN_ORIENTATION_TOOLTIP),
EndContainer(),
EndContainer(),
- NWidget(NWID_SPACER), SetMinimalSize(3, 0),
+ NWidget(NWID_SPACER), SetMinimalSize(3, 0), SetFill(1, 0),
EndContainer(),
NWidget(NWID_SPACER), SetMinimalSize(0, 3),
EndContainer(),