فهرست منبع

UI: Truncate displayed file paths in the middle in Remux window

gxalpha 3 سال پیش
والد
کامیت
2d75167e4c
1فایلهای تغییر یافته به همراه2 افزوده شده و 0 حذف شده
  1. 2 0
      UI/window-remux.cpp

+ 2 - 0
UI/window-remux.cpp

@@ -672,6 +672,8 @@ OBSRemux::OBSRemux(const char *path, QWidget *parent, bool autoRemux_)
 		RemuxEntryColumn::State, QHeaderView::ResizeMode::Fixed);
 	ui->tableView->setEditTriggers(
 		QAbstractItemView::EditTrigger::CurrentChanged);
+	ui->tableView->setTextElideMode(Qt::ElideMiddle);
+	ui->tableView->setWordWrap(false);
 
 	installEventFilter(CreateShortcutFilter());