Skip to content
Permalink
Browse files

backport fix vertical alignment in attribute table references #12700

…funded by Kartoza
  • Loading branch information
Gustry authored and m-kuhn committed Mar 14, 2017
1 parent 7786cab commit 16f3282670cce8ce205a1e06714a6625b5ca1556
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/attributetable/qgsattributetablemodel.cpp
@@ -567,9 +567,9 @@ QVariant QgsAttributeTableModel::data( const QModelIndex &index, int role ) cons
if ( role == Qt::TextAlignmentRole )
{
if ( fldRightAlign )
return QVariant( Qt::AlignRight );
return QVariant( Qt::AlignRight | Qt::AlignVCenter );
else
return QVariant( Qt::AlignLeft );
return QVariant( Qt::AlignLeft | Qt::AlignVCenter );
}

QVariant val;

0 comments on commit 16f3282

Please sign in to comment.
You can’t perform that action at this time.