Adjusted QFP pin body widget size

This commit is contained in:
Nav
2022-04-30 13:24:18 +01:00
parent 2f80690d27
commit 75d18b45fb
2 changed files with 3 additions and 3 deletions

View File

@@ -15,8 +15,8 @@ namespace Bloom::Widgets::InsightTargetWidgets::Qfp
Q_OBJECT
public:
static const int WIDTH = 19;
static const int HEIGHT = 28;
static const int WIDTH = 17;
static const int HEIGHT = 26;
PinBodyWidget(QWidget* parent, Targets::TargetPinDescriptor pinDescriptor, bool isVertical);

View File

@@ -80,7 +80,7 @@ namespace Bloom::Widgets::InsightTargetWidgets::Qfp
if (this->position == Position::LEFT || this->position == Position::RIGHT) {
this->pinNumberLabel->setFixedSize(
PinWidget::MAXIMUM_PIN_NUMBER_LABEL_WIDTH,
PinWidget::MAXIMUM_HORIZONTAL_HEIGHT / 2
PinWidget::MAXIMUM_HORIZONTAL_HEIGHT
);
} else if (this->position == Position::TOP || this->position == Position::BOTTOM) {