mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 22:25:46 +01:00
set correct font for peak display button
This commit is contained in:
parent
00f604019d
commit
7f15aaf0cf
1 changed files with 1 additions and 1 deletions
|
|
@ -102,7 +102,7 @@ GainMeterBase::GainMeterBase (Session* s, bool horizontal, int fader_length, int
|
|||
gain_display.set_alignment(0.5);
|
||||
|
||||
peak_display.set_name ("peak display");
|
||||
set_size_request_to_display_given_text (peak_display, "-80.g", 2, 6); /* note the descender */
|
||||
peak_display.set_layout_font (ARDOUR_UI::config()->get_canvasvar_SmallFont());
|
||||
max_peak = minus_infinity();
|
||||
peak_display.set_text (_("-inf"));
|
||||
peak_display.set_alignment (0.5, 0.5);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue