Skip to content

Commit

Permalink
Fewer grid lines in the audio spectrum.
Browse files Browse the repository at this point in the history
  • Loading branch information
csete committed Dec 7, 2015
1 parent 839fc65 commit 424002e
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/qtgui/dockaudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,13 @@ DockAudio::DockAudio(QWidget *parent) :
ui->audioSpectrum->setFilterBoxEnabled(false);
ui->audioSpectrum->setCenterLineEnabled(false);
ui->audioSpectrum->setMinMaxDB(-80, 0);
ui->audioSpectrum->setFontSize(8);
ui->audioSpectrum->setVdivDelta(20);
ui->audioSpectrum->setHdivDelta(25);
#ifdef Q_OS_MAC
ui->audioSpectrum->setFontSize(11);
#else
ui->audioSpectrum->setFontSize(9);
#endif
ui->audioSpectrum->setVdivDelta(30);
ui->audioSpectrum->setHdivDelta(40);
ui->audioSpectrum->setFreqDigits(1);
}

Expand Down

0 comments on commit 424002e

Please sign in to comment.