diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp index dc64e155..8e55699f 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetRegisterInspector/TargetRegisterInspectorWindow.cpp @@ -61,18 +61,8 @@ namespace Bloom::Widgets throw Exception("Failed to open TargetRegisterInspectorWindow stylesheet file"); } - auto windowSize = QSize( - 840, - static_cast( - 440 - + ((BitsetWidget::HEIGHT + 20) * std::ceil(static_cast(this->registerValue.size()) / 2)) - + (!this->registerDescriptor.writable ? 50 : 0) - ) - ); - auto containerMargins = QMargins(15, 30, 15, 10); - this->setStyleSheet(windowStylesheet.readAll()); - this->setMinimumSize(windowSize); + this->setFixedSize(1070, 600); auto uiLoader = UiLoader(this); this->container = uiLoader.load(&windowUiFile, this);