Corrected pin spacing issue on DIP target package widget

Also moved redundant resizing out of the paintEvent handler.
And some other tidying of the DIP widget
This commit is contained in:
Nav
2021-09-26 18:15:43 +01:00
parent 647b6bc3e1
commit 135df2395b
5 changed files with 16 additions and 67 deletions

View File

@@ -28,6 +28,7 @@ namespace Bloom::Widgets::InsightTargetWidgets::Dip
public:
static const int MINIMUM_WIDTH = 30;
static const int WIDTH_SPACING = 8;
static const int MAXIMUM_LABEL_COUNT = 3;
static const int LABEL_HEIGHT = 20;
static const int MAXIMUM_HEIGHT = PinBodyWidget::HEIGHT