Mercurial > hg > openttd
changeset 16141:738aa94d52d7 draft
(svn r20837) -Fix [FS#4132]: Set height of industry directory to 5 lines like other lists.
author | frosch <frosch@openttd.org> |
---|---|
date | Wed, 22 Sep 2010 19:47:01 +0000 |
parents | 0bf60eb26a35 |
children | 28610537b748 |
files | src/industry_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -1190,6 +1190,7 @@ 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);