summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2011-09-17 20:38:23 +0000
committerterkhen <terkhen@openttd.org>2011-09-17 20:38:23 +0000
commit7d0811d08e25bb16742de9961ad461b6c6893cd8 (patch)
treef8679ebd84e8115915b53c4b574938630f9616cd /src/vehicle_gui.cpp
parent375f67f56c728c9d4fd11bacc7d1ca2377b17f5a (diff)
downloadopenttd-7d0811d08e25bb16742de9961ad461b6c6893cd8.tar.xz
(svn r22941) -Fix: Calculate the size of the start/stop vehicle button correctly.
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index af325a917..512a5568b 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -2166,7 +2166,7 @@ static const NWidgetPart _nested_vehicle_view_widgets[] = {
EndContainer(),
EndContainer(),
NWidget(NWID_HORIZONTAL),
- NWidget(WWT_PUSHBTN, COLOUR_GREY, VVW_WIDGET_START_STOP_VEH), SetMinimalTextLines(1, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM), SetResize(1, 0), SetFill(1, 0),
+ NWidget(WWT_PUSHBTN, COLOUR_GREY, VVW_WIDGET_START_STOP_VEH), SetMinimalTextLines(1, WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM + 2), SetResize(1, 0), SetFill(1, 0),
NWidget(WWT_RESIZEBOX, COLOUR_GREY),
EndContainer(),
};