summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-12-28 13:04:18 +0000
committerrubidium <rubidium@openttd.org>2009-12-28 13:04:18 +0000
commit454e124912cb6885ca7904489aac7e2704baca26 (patch)
treea4050db403bfbb4ed7d901d70ab82bc7ed2f955f /src
parentf60b3a28d68122aa9e4f7ac87d9bd1089a51acb9 (diff)
downloadopenttd-454e124912cb6885ca7904489aac7e2704baca26.tar.xz
(svn r18652) -Fix: glitches due to having the wrong bounding boxes for the face widgets
Diffstat (limited to 'src')
-rw-r--r--src/company_gui.cpp2
-rw-r--r--src/misc_gui.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/company_gui.cpp b/src/company_gui.cpp
index a5e308351..4cb23cfbc 100644
--- a/src/company_gui.cpp
+++ b/src/company_gui.cpp
@@ -1599,7 +1599,7 @@ static const NWidgetPart _nested_company_widgets[] = {
NWidget(WWT_PANEL, COLOUR_GREY),
NWidget(NWID_HORIZONTAL), SetPIP(4, 6, 4),
NWidget(NWID_VERTICAL), SetPIP(4, 2, 4),
- NWidget(WWT_EMPTY, INVALID_COLOUR, CW_WIDGET_FACE), SetMinimalSize(91, 120), SetFill(1, 0),
+ NWidget(WWT_EMPTY, INVALID_COLOUR, CW_WIDGET_FACE), SetMinimalSize(92, 119), SetFill(1, 0),
NWidget(WWT_EMPTY, INVALID_COLOUR, CW_WIDGET_FACE_TITLE), SetFill(1, 1), SetMinimalTextLines(2, 0),
EndContainer(),
NWidget(NWID_VERTICAL),
diff --git a/src/misc_gui.cpp b/src/misc_gui.cpp
index 4c8937b17..b596ed953 100644
--- a/src/misc_gui.cpp
+++ b/src/misc_gui.cpp
@@ -510,7 +510,7 @@ static const NWidgetPart _nested_errmsg_face_widgets[] = {
EndContainer(),
NWidget(WWT_PANEL, COLOUR_RED),
NWidget(NWID_HORIZONTAL), SetPIP(2, 1, 2),
- NWidget(WWT_EMPTY, COLOUR_RED, EMW_FACE), SetMinimalSize(91, 120), SetFill(0, 1), SetPadding(2, 0, 1, 0),
+ NWidget(WWT_EMPTY, COLOUR_RED, EMW_FACE), SetMinimalSize(92, 119), SetFill(0, 1), SetPadding(2, 0, 1, 0),
NWidget(WWT_EMPTY, COLOUR_RED, EMW_MESSAGE), SetFill(0, 1), SetMinimalSize(238, 123),
EndContainer(),
EndContainer(),