Skip to content

Commit 59e75b7

Browse files
committed
Improve reference panel font choices
1 parent 6431761 commit 59e75b7

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Source/Dialogs/ObjectBrowserDialog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ class ObjectViewer final : public Component {
403403
}
404404

405405
{
406-
g.setFont(Fonts::getMonospaceFont().withHeight(18.f));
406+
g.setFont(Fonts::getSemiBoldFont().withHeight(18.f));
407407
g.setColour(colour);
408408
g.drawText(objectName, layout.titleBounds.translated(2, 0), Justification::centredLeft);
409409
}

Source/Dialogs/ObjectReferenceDialog.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class ObjectReferenceDialog final : public Component {
197197

198198
void paint(Graphics& g) override
199199
{
200-
g.setFont(Fonts::getMonospaceFont().withHeight(38.0f));
200+
g.setFont(Fonts::getSemiBoldFont().withHeight(38.0f));
201201
g.setColour(PlugDataColours::panelTextColour);
202202

203203
int w = static_cast<int>(Fonts::getStringWidthInt(name, g.getCurrentFont()));
@@ -501,7 +501,7 @@ class ObjectReferenceDialog final : public Component {
501501
String text = i < row.size() ? row[i] : "";
502502

503503
Font f = columns[i].mono
504-
? Fonts::getMonospaceFont().withHeight(12.5f)
504+
? Fonts::getMonospaceFont().withHeight(13.5f)
505505
: Fonts::getDefaultFont().withHeight(13.5f);
506506

507507
AttributedString s;

0 commit comments

Comments
 (0)