Adjusted size of register inspection window to display 4 bitset widgets on a single row

This commit is contained in:
Nav
2022-07-17 15:37:34 +01:00
parent c7cd88e198
commit 8ed520d0a7

View File

@@ -62,7 +62,7 @@ namespace Bloom::Widgets
}
this->setStyleSheet(windowStylesheet.readAll());
this->setFixedSize(1075, 610);
this->setFixedSize(1120, 610);
auto uiLoader = UiLoader(this);
this->container = uiLoader.load(&windowUiFile, this);
@@ -160,7 +160,7 @@ namespace Bloom::Widgets
);
this->bitsetWidgets.push_back(bitsetWidget);
if (((registerByteIndex + 1) % 3) == 0) {
if (((registerByteIndex + 1) % 4) == 0) {
bitsetSingleHorizontalLayout->addStretch(1);
registerBitsetWidgetLayout->addLayout(bitsetSingleHorizontalLayout);
bitsetSingleHorizontalLayout = new QHBoxLayout();