Changed the resize-mode for the "Status" and "Progress" columns to "ResizeToContents".

This commit is contained in:
LoRd_MuldeR 2015-10-24 18:28:45 +02:00
parent b373b3d725
commit 3a777274cc
3 changed files with 9 additions and 6 deletions

View File

@ -2,6 +2,10 @@
Simple x264/x265 Launcher version history
-----------------------------------------
Version 2.62 [unreleased]
* Changed mode for the Status/Progress columns to "ResizeToContents"
* Updated x265 to version 1.8+49
Version 2.61 [2015-10-19]
* Refined custom parameters validation code, again
* Fixed processing of CLI arguments for Launcher (regression in v2.60)

View File

@ -25,8 +25,8 @@
#define VER_X264_MAJOR 2
#define VER_X264_MINOR 6
#define VER_X264_PATCH 1
#define VER_X264_BUILD 986
#define VER_X264_PATCH 2
#define VER_X264_BUILD 990
#define VER_X264_PORTABLE_EDITION (0)

View File

@ -165,10 +165,9 @@ MainWindow::MainWindow(const MUtils::CPUFetaures::cpu_info_t &cpuFeatures, MUtil
//Setup view
ui->jobsView->horizontalHeader()->setSectionHidden(3, true);
ui->jobsView->horizontalHeader()->setResizeMode(0, QHeaderView::Stretch);
ui->jobsView->horizontalHeader()->setResizeMode(1, QHeaderView::Fixed);
ui->jobsView->horizontalHeader()->setResizeMode(2, QHeaderView::Fixed);
ui->jobsView->horizontalHeader()->resizeSection(1, 150);
ui->jobsView->horizontalHeader()->resizeSection(2, 90);
ui->jobsView->horizontalHeader()->setResizeMode(1, QHeaderView::ResizeToContents);
ui->jobsView->horizontalHeader()->setResizeMode(2, QHeaderView::ResizeToContents);
ui->jobsView->horizontalHeader()->setMinimumSectionSize(96);
ui->jobsView->verticalHeader()->setResizeMode(QHeaderView::ResizeToContents);
connect(ui->jobsView->selectionModel(), SIGNAL(currentChanged(QModelIndex, QModelIndex)), this, SLOT(jobSelected(QModelIndex, QModelIndex)));