Browse Source

UI: Truncate push-to-* labels

The labels for the push-to-mute / push-to-talk hotkeys
were never truncated.
Clayton Groeneveld 3 years ago
parent
commit
22dbf316df
1 changed files with 1 additions and 0 deletions
  1. 1 0
      UI/window-basic-settings.cpp

+ 1 - 0
UI/window-basic-settings.cpp

@@ -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);