Changeset - r16131:83ffcbc14970
[Not reviewed]
master
0 1 0
frosch - 14 years ago 2010-09-22 19:47:01
frosch@openttd.org
(svn r20837) -Fix [FS#4132]: Set height of industry directory to 5 lines like other lists.
1 file changed with 1 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/industry_gui.cpp
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)