mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
panel: unify alignment of header texts
User feedback said it's awkward and I quite agree. :)
This commit is contained in:
parent
75bc6566f6
commit
a380fea938
@ -495,7 +495,7 @@ QVariant RemoteSolutionModel::headerData(int section, Qt::Orientation orientatio
|
||||
return tr("comment");
|
||||
}
|
||||
case Qt::TextAlignmentRole:
|
||||
return section == 2 ? Qt::AlignLeft : Qt::AlignRight;
|
||||
return Qt::AlignLeft;
|
||||
}
|
||||
}
|
||||
return QAbstractItemModel::headerData(section, orientation, role);
|
||||
|
||||
@ -81,7 +81,7 @@ QVariant TaskListModel::horizontalHeader(int column, int role) {
|
||||
break;
|
||||
|
||||
case Qt::TextAlignmentRole:
|
||||
return column == 0 ? Qt::AlignLeft : Qt::AlignRight;
|
||||
return Qt::AlignLeft;
|
||||
|
||||
case Qt::ToolTipRole:
|
||||
switch (column) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user