Fixed bug with hex viewer widget failing to occupy all available space
This commit is contained in:
@@ -82,7 +82,7 @@ void ByteItemGraphicsScene::adjustByteWidgets() {
|
|||||||
0,
|
0,
|
||||||
0,
|
0,
|
||||||
width,
|
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.
|
// Don't bother recalculating the byte item positions if the number of rows have not changed.
|
||||||
|
|||||||
Reference in New Issue
Block a user