UI: Truncate push-to-* labels

The labels for the push-to-mute / push-to-talk hotkeys
were never truncated.
master
Clayton Groeneveld 2022-05-31 04:30:03 -05:00 committed by Matt Gajownik
parent e40a6be031
commit 22dbf316df
1 changed files with 1 additions and 0 deletions

View File

@ -2479,6 +2479,7 @@ void OBSBasicSettings::LoadAudioSources()
pttCB, pttSB);
auto label = new OBSSourceLabel(source);
TruncateLabel(label, label->text());
label->setMinimumSize(QSize(170, 0));
label->setAlignment(Qt::AlignRight | Qt::AlignTrailing |
Qt::AlignVCenter);