Debugger: Use monospace font in tables that display addresses.

This makes stack traces, registers, variables, etc. so much nicer
and easier to read and work with. Ahh, much better.
This commit is contained in:
Augustin Cavalier 2022-08-30 22:43:56 -04:00
parent 1f72988e61
commit 1f34a738be
6 changed files with 6 additions and 0 deletions

View File

@ -453,6 +453,7 @@ void
BreakpointListView::_Init(BView* filterTarget)
{
fBreakpointsTable = new Table("breakpoints list", 0, B_FANCY_BORDER);
fBreakpointsTable->SetFont(B_FONT_ROW, be_fixed_font);
AddChild(fBreakpointsTable->ToView());
// columns

View File

@ -817,6 +817,7 @@ void
ImageFunctionsView::_Init()
{
fFunctionsTable = new TreeTable("functions", 0, B_FANCY_BORDER);
fFunctionsTable->SetFont(B_FONT_ROW, be_fixed_font);
AddChild(fFunctionsTable->ToView());
AddChild(fFilterField = new BTextControl("filtertext", "Filter:",
NULL, NULL));

View File

@ -300,6 +300,7 @@ void
ImageListView::_Init()
{
fImagesTable = new Table("images list", 0, B_FANCY_BORDER);
fImagesTable->SetFont(B_FONT_ROW, be_fixed_font);
AddChild(fImagesTable->ToView());
// columns

View File

@ -388,6 +388,7 @@ void
RegistersView::_Init()
{
fRegisterTable = new Table("register list", 0, B_FANCY_BORDER);
fRegisterTable->SetFont(B_FONT_ROW, be_fixed_font);
AddChild(fRegisterTable->ToView());
// columns

View File

@ -231,6 +231,7 @@ void
StackTraceView::_Init()
{
fFramesTable = new Table("stack trace", 0, B_FANCY_BORDER);
fFramesTable->SetFont(B_FONT_ROW, be_fixed_font);
AddChild(fFramesTable->ToView());
fFramesTable->SetSortingEnabled(false);

View File

@ -2554,6 +2554,7 @@ void
VariablesView::_Init(ValueNodeManager* manager)
{
fVariableTable = new TreeTable("variable list", 0, B_FANCY_BORDER);
fVariableTable->SetFont(B_FONT_ROW, be_fixed_font);
AddChild(fVariableTable->ToView());
fVariableTable->SetSortingEnabled(false);