Adjusted pin widget spacing and label font size for QFP target widget
This commit is contained in:
@@ -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),
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#target-pin-number {
|
||||
font-size: 12px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
#target-pin-name {
|
||||
|
||||
Reference in New Issue
Block a user