summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/industry_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index b29f1186d..36fba46be 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -1190,6 +1190,7 @@ public:
d = maxdim(d, GetStringBoundingBox(this->GetIndustryString(this->industries[i])));
}
resize->height = d.height;
+ d.height *= 5;
d.width += padding.width + WD_FRAMERECT_LEFT + WD_FRAMERECT_RIGHT;
d.height += padding.height + WD_FRAMERECT_TOP + WD_FRAMERECT_BOTTOM;
*size = maxdim(*size, d);