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

fix multile line bytes
old-commit-hash: 8b7ffc96b5
pull/33029/head
Dean Lee 1 year ago committed by GitHub
parent 8df7b4a20a
commit 26b02b2ed4
  1. 2
      tools/cabana/messageswidget.cc

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

Loading…
Cancel
Save