# HG changeset patch # User frosch # Date 2010-09-22 19:47:01 # Node ID 83ffcbc14970f4500bf01f7c60b4c4a65f3e3a6d # Parent 36b85b9c73805eca4e9b8de849dff506f00f6673 (svn r20837) -Fix [FS#4132]: Set height of industry directory to 5 lines like other lists. diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp --- 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);