Better positioning of the text on the table cells.

Better positioning of the text on the table cells. On KDE systems the
text got too near the line that divided the cells, this way the text is
placed on the middle of the cell.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2013-11-21 23:24:58 -02:00 committed by Dirk Hohndel
parent 0f85243cf3
commit cee021ddd3

View file

@ -105,7 +105,7 @@ QVariant CylindersModel::data(const QModelIndex& index, int role) const
break;
}
case Qt::TextAlignmentRole:
ret = Qt::AlignHCenter;
ret = Qt::AlignCenter;
break;
case Qt::DisplayRole:
case Qt::EditRole: