1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 18:15:45 -05:00

Spectrum: Formatting

This commit is contained in:
Jon Beniston 2022-06-20 15:24:33 +01:00
parent c06f9f4ea8
commit 2008967f2b

View File

@ -1898,6 +1898,7 @@ void GLSpectrum::applyChanges()
if (m_nbBins <= 0) { if (m_nbBins <= 0) {
return; return;
} }
QFontMetrics fm(font()); QFontMetrics fm(font());
int M = fm.horizontalAdvance("-"); int M = fm.horizontalAdvance("-");