From 8ed520d0a759b475b9f27edf091f64d5be986880 Mon Sep 17 00:00:00 2001 From: Nav Date: Sun, 17 Jul 2022 15:37:34 +0100 Subject: [PATCH] Adjusted size of register inspection window to display 4 bitset widgets on a single row --- .../TargetRegisterInspector/TargetRegisterInspectorWindow.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp index 66903008..6569002a 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp @@ -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();