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:
@@ -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++) {
|
||||
|
Reference in New Issue
Block a user