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:
parent
0f85243cf3
commit
cee021ddd3
@ -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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user