drowe67 / freedv-gui

GUI Application for FreeDV – open source digital voice for HF radio
https://freedv.org/
GNU Lesser General Public License v2.1
206 stars 52 forks source link

SNR vertical gauge has no units shown #337

Closed Tyrbiter closed 1 year ago

Tyrbiter commented 1 year ago

Since the squelch setting is labeled in dB, the SNR gauge should also have this label.

Tyrbiter commented 1 year ago

My fix for this, which seems to work OK is:

main.cpp:1243

change "%4.1f" to "%4.1f dB"

and also

topFrame.cpp:153

change " 0.0" to " 0.0 dB"

and

topFrame.cpp:154

change wxSize(40, to wxSize(70,

Yes, I should have generated a patch file but I thought it was simpler to do this instead of get my diff syntax wrong :)

tmiw commented 1 year ago

Try https://github.com/drowe67/freedv-gui/pull/339 and let me know how that goes?

Tyrbiter commented 1 year ago

Looks good, sorry I got the line numbers wrong, based off file in the wrong branch.