Setting the column 0 to a width of 30 on startup.

This commit is contained in:
2026-02-12 09:59:13 +01:00
parent f148ef9cba
commit bea89a2a16
2 changed files with 3 additions and 83 deletions

View File

@ -20,6 +20,8 @@
#include "widgets/comboboxdelegate.h"
#include "widgets/spinboxdelegate.h"
static int intColumnWidth = 30;
static QStandardPaths::StandardLocation standardLocation = QStandardPaths::HomeLocation;
static QString updateTextClean = "Do you want to update the application now?";
static QString updateTextDirty = "Do you want to save the tasks & update the application now?";
@ -363,6 +365,7 @@ void MainWindow::setupModelViews() {
ui->tableView->setModel((QAbstractItemModel*)m_proxyModel.get());
ui->tableView->setSortingEnabled(true);
ui->tableView->setColumnWidth(0, intColumnWidth);
}
void MainWindow::createActions() {