Adjusted minimum Insight window size applied by DIP and QFP target package widgets

This commit is contained in:
Nav
2021-09-03 21:50:45 +01:00
parent b5d6e8d88b
commit b099afd590
2 changed files with 3 additions and 3 deletions

View File

@@ -69,8 +69,8 @@ DualInlinePackageWidget::DualInlinePackageWidget(
auto insightWindowWidget = this->window(); auto insightWindowWidget = this->window();
assert(insightWindowWidget != nullptr); assert(insightWindowWidget != nullptr);
insightWindowWidget->setMinimumHeight(500); insightWindowWidget->setMinimumHeight(540);
insightWindowWidget->setMinimumWidth(1000); insightWindowWidget->setMinimumWidth(1100);
} }
void DualInlinePackageWidget::paintEvent(QPaintEvent* event) { void DualInlinePackageWidget::paintEvent(QPaintEvent* event) {

View File

@@ -104,7 +104,7 @@ QuadFlatPackageWidget::QuadFlatPackageWidget(
std::max( std::max(
1000, 1000,
static_cast<int>(((PinWidget::MAXIMUM_VERTICAL_WIDTH + PinWidget::PIN_WIDGET_SPACING) * pinCountPerLayout) static_cast<int>(((PinWidget::MAXIMUM_VERTICAL_WIDTH + PinWidget::PIN_WIDGET_SPACING) * pinCountPerLayout)
+ (PinWidget::MAXIMUM_VERTICAL_WIDTH * 2)) + 600 + (PinWidget::MAXIMUM_VERTICAL_WIDTH * 2)) + 760
) )
); );
} }