Adjusted QFP pin body widget size
This commit is contained in:
@@ -15,8 +15,8 @@ namespace Bloom::Widgets::InsightTargetWidgets::Qfp
|
|||||||
Q_OBJECT
|
Q_OBJECT
|
||||||
|
|
||||||
public:
|
public:
|
||||||
static const int WIDTH = 19;
|
static const int WIDTH = 17;
|
||||||
static const int HEIGHT = 28;
|
static const int HEIGHT = 26;
|
||||||
|
|
||||||
PinBodyWidget(QWidget* parent, Targets::TargetPinDescriptor pinDescriptor, bool isVertical);
|
PinBodyWidget(QWidget* parent, Targets::TargetPinDescriptor pinDescriptor, bool isVertical);
|
||||||
|
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ namespace Bloom::Widgets::InsightTargetWidgets::Qfp
|
|||||||
if (this->position == Position::LEFT || this->position == Position::RIGHT) {
|
if (this->position == Position::LEFT || this->position == Position::RIGHT) {
|
||||||
this->pinNumberLabel->setFixedSize(
|
this->pinNumberLabel->setFixedSize(
|
||||||
PinWidget::MAXIMUM_PIN_NUMBER_LABEL_WIDTH,
|
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) {
|
} else if (this->position == Position::TOP || this->position == Position::BOTTOM) {
|
||||||
|
|||||||
Reference in New Issue
Block a user