Adjusted pin widget spacing and label font size for QFP target widget

This commit is contained in:
Nav
2021-11-07 20:31:09 +00:00
parent f85982859b
commit f59cb08346
3 changed files with 4 additions and 4 deletions

View File

@@ -23,8 +23,8 @@ void BodyWidget::drawWidget(QPainter& painter) {
painter.setBrush(targetBodyColor);
const auto containerSize = this->size();
auto targetBodyWidth = containerSize.width() - 14;
auto targetBodyHeight = containerSize.height() - 14;
const auto targetBodyWidth = containerSize.width() - 12;
const auto targetBodyHeight = containerSize.height() - 12;
auto targetBodyPoint = QPoint(
(containerSize.width() / 2) - (targetBodyWidth / 2),

View File

@@ -16,7 +16,7 @@ namespace Bloom::Widgets::InsightTargetWidgets::Qfp
public:
static const int PIN_WIDGET_LAYOUT_PADDING = 46;
static const int WIDTH_SPACING = 7;
static const int WIDTH_SPACING = 6;
static const int MAXIMUM_LABEL_COUNT = 3;
static const int LABEL_HEIGHT = 20;
static const int MAXIMUM_LABEL_WIDTH = PinBodyWidget::WIDTH;

View File

@@ -1,5 +1,5 @@
#target-pin-number {
font-size: 12px;
font-size: 14px;
}
#target-pin-name {