From b9a43b4f39285a7c5daaa6eaf47bd2877444a926 Mon Sep 17 00:00:00 2001 From: Nav Date: Thu, 30 Dec 2021 18:08:53 +0000 Subject: [PATCH] Increased pin label max width in target pacakge widgets --- .../InsightWindow/Widgets/TargetWidgets/DIP/PinWidget.hpp | 2 +- .../InsightWindow/Widgets/TargetWidgets/QFP/PinWidget.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/DIP/PinWidget.hpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/DIP/PinWidget.hpp index fa099d1b..f390ae29 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/DIP/PinWidget.hpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/DIP/PinWidget.hpp @@ -33,7 +33,7 @@ namespace Bloom::Widgets::InsightTargetWidgets::Dip static constexpr int LABEL_HEIGHT = 20; static constexpr int MAXIMUM_PIN_NUMBER_LABEL_WIDTH = 26; static constexpr int MAXIMUM_PIN_DIRECTION_LABEL_WIDTH = 24; - static constexpr int MAXIMUM_LABEL_WIDTH = 32; + static constexpr int MAXIMUM_LABEL_WIDTH = 42; static constexpr int MAXIMUM_LABEL_HEIGHT = 20; static constexpr int MAXIMUM_HEIGHT = PinBodyWidget::HEIGHT + PinWidget::PIN_LABEL_SPACING + PinWidget::LABEL_HEIGHT; diff --git a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/QFP/PinWidget.hpp b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/QFP/PinWidget.hpp index 0738b7f7..56f8e982 100644 --- a/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/QFP/PinWidget.hpp +++ b/src/Insight/UserInterfaces/InsightWindow/Widgets/TargetWidgets/QFP/PinWidget.hpp @@ -33,7 +33,7 @@ namespace Bloom::Widgets::InsightTargetWidgets::Qfp static constexpr int LABEL_HEIGHT = 20; static constexpr int MAXIMUM_PIN_NUMBER_LABEL_WIDTH = 26; static constexpr int MAXIMUM_PIN_DIRECTION_LABEL_WIDTH = 24; - static constexpr int MAXIMUM_LABEL_WIDTH = 32; + static constexpr int MAXIMUM_LABEL_WIDTH = 42; static constexpr int MAXIMUM_LABEL_HEIGHT = 20; static constexpr int MAXIMUM_HORIZONTAL_WIDTH = PinBodyWidget::HEIGHT + PinWidget::MAXIMUM_PIN_NUMBER_LABEL_WIDTH + 3; static constexpr int MAXIMUM_HORIZONTAL_HEIGHT = PinBodyWidget::WIDTH;