From ce83378e3de622b0759fad938b74ca83cea56949 Mon Sep 17 00:00:00 2001 From: frosch Date: Wed, 22 Sep 2010 19:47:01 +0000 Subject: [PATCH] (svn r20837) -Fix [FS#4132]: Set height of industry directory to 5 lines like other lists. --- src/industry_gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index b29f1186df..36fba46bee 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);