aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2022-08-14 16:56:38 +0200
committerJavier <dev.git@javispedro.com>2022-08-14 16:56:38 +0200
commitf11db6cbf3693d9da5fb065446a20b229992bd4b (patch)
tree1e6b247f0b16157ce3223a818bfe64e1d2cc9908
parent9f6f92bc280843580b5a4cc45022fc836ed1b42a (diff)
downloadscribiu-f11db6cbf3693d9da5fb065446a20b229992bd4b.tar.gz
scribiu-f11db6cbf3693d9da5fb065446a20b229992bd4b.zip
another minor gui alignment fix
-rw-r--r--notebookmodel.cc2
1 files changed, 1 insertions, 1 deletions
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<int>(Qt::AlignLeft | Qt::AlignVCenter);
case 1:
case 2:
return Qt::AlignCenter;