From 97ba77f4b56f8cabd0ac6cc13dd74baa7dd1d7c6 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Wed, 10 Feb 2016 06:34:11 +0100 Subject: [PATCH] gui/log: top cell alignment --- artiq/gui/log.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/artiq/gui/log.py b/artiq/gui/log.py index b35f2d639..afa981593 100644 --- a/artiq/gui/log.py +++ b/artiq/gui/log.py @@ -81,6 +81,8 @@ class Model(QtCore.QAbstractTableModel): if (role == QtCore.Qt.FontRole and index.column() == 1): return self.fixed_font + elif role == QtCore.Qt.TextAlignmentRole: + return QtCore.Qt.AlignLeft | QtCore.Qt.AlignTop elif role == QtCore.Qt.BackgroundRole: level = self.entries[index.row()][0] if level >= logging.ERROR: