Fixed bug with hex viewer widget failing to occupy all available space

This commit is contained in:
Nav
2021-11-02 23:26:43 +00:00
parent 1ef78dafb1
commit 82016959c8

View File

@@ -82,7 +82,7 @@ void ByteItemGraphicsScene::adjustByteWidgets() {
0,
0,
width,
(rowCount * byteWidgetHeight) + margins.top() + margins.bottom()
std::max(((rowCount * byteWidgetHeight) + margins.top() + margins.bottom()), this->parent->height())
);
// Don't bother recalculating the byte item positions if the number of rows have not changed.