1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-02 19:39:12 +00:00

(svn r18099) -Codechange: scale the edit boxes to the fontsize

This commit is contained in:
rubidium
2009-11-15 15:37:37 +00:00
parent 36e030c19d
commit cddc057a60
3 changed files with 4 additions and 10 deletions

View File

@@ -381,10 +381,6 @@ public:
*size = maxdim(*size, GetStringBoundingBox(STR_CONTENT_FILTER_TITLE));
break;
case NCLWW_FILTER:
size->height = FONT_HEIGHT_NORMAL + padding.height;
break;
case NCLWW_TYPE: {
Dimension d = *size;
for (int i = CONTENT_TYPE_BEGIN; i < CONTENT_TYPE_END; i++) {