cabana: fixed row height issue in multi-line hex display (#32816)

fix multile line bytes
pull/32808/head
Dean Lee 12 months ago committed by GitHub
parent 1de7126d34
commit 8b7ffc96b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      tools/cabana/messageswidget.cc

@ -411,7 +411,7 @@ void MessageView::updateBytesSectionSize() {
max_bytes = std::max<int>(max_bytes, m.dat.size());
}
}
setUniformRowHeights(!delegate->multipleLines() || max_bytes <= 8);
setUniformRowHeights(!delegate->multipleLines());
header()->resizeSection(MessageListModel::Column::DATA, delegate->sizeForBytes(max_bytes).width());
}

Loading…
Cancel
Save