Fix #413: Truncation of expense type names in finance windows

pull/428/head
Jonathan G Rennison 2 years ago
parent 3d857333c8
commit 48d0a0e15c

@ -146,7 +146,7 @@ static uint GetMaxCategoriesWidth()
/* Title of category */
max_width = std::max(max_width, GetStringBoundingBox(STR_FINANCES_REVENUE_TITLE + i).width);
/* Entries in category */
max_width = std::max(max_width, _expenses_list_types[i].GetListWidth());
max_width = std::max(max_width, EXP_INDENT + _expenses_list_types[i].GetListWidth());
}
return max_width;

Loading…
Cancel
Save