From f11db6cbf3693d9da5fb065446a20b229992bd4b Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 14 Aug 2022 16:56:38 +0200 Subject: another minor gui alignment fix --- notebookmodel.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/notebookmodel.cc b/notebookmodel.cc index dc066de..9a51bf9 100644 --- a/notebookmodel.cc +++ b/notebookmodel.cc @@ -172,7 +172,7 @@ QVariant NotebookModel::data(const QModelIndex &index, int role) const case Qt::TextAlignmentRole: switch (index.column()) { case 0: - return Qt::AlignLeft; + return QVariant::fromValue(Qt::AlignLeft | Qt::AlignVCenter); case 1: case 2: return Qt::AlignCenter; -- cgit v1.2.3