mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Better positioning of the text on Weightsystems table.
Same as the cylinder, but for weightsystem. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
bc461d091c
commit
cdac737925
1 changed files with 3 additions and 3 deletions
|
@ -106,7 +106,7 @@ QVariant CylindersModel::data(const QModelIndex& index, int role) const
|
|||
}
|
||||
case Qt::TextAlignmentRole:
|
||||
ret = Qt::AlignCenter;
|
||||
break;
|
||||
break;
|
||||
case Qt::DisplayRole:
|
||||
case Qt::EditRole:
|
||||
switch(index.column()) {
|
||||
|
@ -447,8 +447,8 @@ QVariant WeightModel::data(const QModelIndex& index, int role) const
|
|||
ret = defaultModelFont();
|
||||
break;
|
||||
case Qt::TextAlignmentRole:
|
||||
ret = Qt::AlignRight;
|
||||
break;
|
||||
ret = Qt::AlignCenter;
|
||||
break;
|
||||
case Qt::DisplayRole:
|
||||
case Qt::EditRole:
|
||||
switch(index.column()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue