forked from qt-creator/qt-creator
Android: Align api and revision columns to the right
Change-Id: Ib6e0d1e0b6922cfe5b90e320b25b2dce2dcaba14 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -220,7 +220,7 @@ QVariant AndroidSdkModel::data(const QModelIndex &index, int role) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (role == Qt::TextAlignmentRole && index.column() == packageRevisionColumn)
|
if (role == Qt::TextAlignmentRole && index.column() == packageRevisionColumn)
|
||||||
return Qt::AlignHCenter;
|
return Qt::AlignRight;
|
||||||
|
|
||||||
if (role == Qt::ToolTipRole)
|
if (role == Qt::ToolTipRole)
|
||||||
return QString("%1 - (%2)").arg(p->descriptionText()).arg(p->sdkStylePath());
|
return QString("%1 - (%2)").arg(p->descriptionText()).arg(p->sdkStylePath());
|
||||||
|
|||||||
Reference in New Issue
Block a user