Debugger: BColumnListView supports big fonts.

* Fix #9240.
This commit is contained in:
Janus
2015-05-10 23:53:55 +02:00
parent 73de58376a
commit 8d1603cd54
@@ -4,7 +4,7 @@
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
*/ */
#include <algorithm>
#include <new> #include <new>
#include <stdio.h> #include <stdio.h>
@@ -192,14 +192,14 @@ enum {
TeamRow::TeamRow(team_info& info) TeamRow::TeamRow(team_info& info)
: BRow(20.0) : BRow(std::max(20.0f, ceilf(be_plain_font->Size() * 1.4)))
{ {
_SetTo(info); _SetTo(info);
} }
TeamRow::TeamRow(team_id team) TeamRow::TeamRow(team_id team)
: BRow(20.0) : BRow(std::max(20.0f, ceilf(be_plain_font->Size() * 1.4)))
{ {
team_info info; team_info info;
get_team_info(team, &info); get_team_info(team, &info);