Skip to content

Commit

Permalink
Debugger: BColumnListView supports big fonts.
Browse files Browse the repository at this point in the history
* Fix #9240.
  • Loading branch information
janus2 committed May 10, 2015
1 parent 73de583 commit 8d1603c
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -4,7 +4,7 @@
* Distributed under the terms of the MIT License.
*/


#include <algorithm>
#include <new>

#include <stdio.h>
Expand Down Expand Up @@ -192,14 +192,14 @@ enum {


TeamRow::TeamRow(team_info& info)
: BRow(20.0)
: BRow(std::max(20.0f, ceilf(be_plain_font->Size() * 1.4)))
{
_SetTo(info);
}


TeamRow::TeamRow(team_id team)
: BRow(20.0)
: BRow(std::max(20.0f, ceilf(be_plain_font->Size() * 1.4)))
{
team_info info;
get_team_info(team, &info);
Expand Down

0 comments on commit 8d1603c

Please sign in to comment.