Made DIP and QFP package widgets look nicer with the new panels

This commit is contained in:
Nav
2021-10-06 00:40:30 +01:00
parent 104f09f7c9
commit 2679979988
4 changed files with 21 additions and 3 deletions

View File

@@ -77,6 +77,8 @@ DualInlinePackageWidget::DualInlinePackageWidget(
this->topPinLayout->setContentsMargins(23, 0, 23, 0);
this->bottomPinLayout->setContentsMargins( 23, 0, 23, 0);
this->setFixedSize(width, height);
this->setGeometry(
(parent->width() / 2) - (width / 2),
(parent->height() / 2) - (height / 2),