cabana: align signal value vcenter (#27675)

pull/27678/head
Dean Lee 2 years ago committed by GitHub
parent 9e023b3ead
commit f08132475d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/cabana/historylog.cc

@ -21,7 +21,7 @@ QVariant HistoryLogModel::data(const QModelIndex &index, int role) const {
} else if (role == BytesRole) {
return m.data;
} else if (role == Qt::TextAlignmentRole) {
return Qt::AlignRight;
return (uint32_t)(Qt::AlignRight | Qt::AlignVCenter);
}
return {};
}

Loading…
Cancel
Save