Tweaked register inspection window to display three bitset widgets on a single row (instead of two)

This commit is contained in:
Nav
2022-03-11 19:29:27 +00:00
parent f7fed74f29
commit f6b331c447

View File

@@ -161,7 +161,7 @@ namespace Bloom::Widgets
); );
this->bitsetWidgets.push_back(bitsetWidget); this->bitsetWidgets.push_back(bitsetWidget);
if (((registerByteIndex + 1) % 2) == 0) { if (((registerByteIndex + 1) % 3) == 0) {
bitsetSingleHorizontalLayout->addStretch(1); bitsetSingleHorizontalLayout->addStretch(1);
registerBitsetWidgetLayout->addLayout(bitsetSingleHorizontalLayout); registerBitsetWidgetLayout->addLayout(bitsetSingleHorizontalLayout);
bitsetSingleHorizontalLayout = new QHBoxLayout(); bitsetSingleHorizontalLayout = new QHBoxLayout();