mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue