summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/newgrf_gui.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp
index 80264f5fe..7c5360ec3 100644
--- a/src/newgrf_gui.cpp
+++ b/src/newgrf_gui.cpp
@@ -581,6 +581,14 @@ struct NewGRFWindow : public Window {
*size = maxdim(d, *size);
break;
}
+
+ case SNGRFS_CONTENT_DOWNLOAD: {
+ Dimension d = GetStringBoundingBox(STR_NEWGRF_SETTINGS_FIND_MISSING_CONTENT_BUTTON);
+ *size = maxdim(d, GetStringBoundingBox(STR_INTRO_ONLINE_CONTENT));
+ size->width += padding.width;
+ size->height += padding.height;
+ break;
+ }
}
}