mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:47:45 +00:00
Piano: Use a fixed-width font in the UI to align things nicely.
This commit is contained in:
parent
9197cfc62f
commit
559a999852
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ PianoWidget::PianoWidget()
|
|||
memset(keys, 0, sizeof(keys));
|
||||
m_front_buffer = new Sample[2048];
|
||||
m_back_buffer = new Sample[2048];
|
||||
|
||||
set_font(Font::default_fixed_width_font());
|
||||
}
|
||||
|
||||
PianoWidget::~PianoWidget()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue