Skip to content

Commit 559a999

Browse files
committed
Piano: Use a fixed-width font in the UI to align things nicely.
1 parent 9197cfc commit 559a999

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Applications/Piano/PianoWidget.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ PianoWidget::PianoWidget()
99
memset(keys, 0, sizeof(keys));
1010
m_front_buffer = new Sample[2048];
1111
m_back_buffer = new Sample[2048];
12+
13+
set_font(Font::default_fixed_width_font());
1214
}
1315

1416
PianoWidget::~PianoWidget()

0 commit comments

Comments
 (0)