Reduced pin name character limit for Insight target widgets.
Also some other bits of cleaning
This commit is contained in:
@@ -9,6 +9,6 @@ If no such environment exists, Bloom will exit.
|
|||||||
Commands:
|
Commands:
|
||||||
--help, -h Displays this help text.
|
--help, -h Displays this help text.
|
||||||
--version, -v Displays the current version number.
|
--version, -v Displays the current version number.
|
||||||
init Creates a new Bloom project configuration file (bloom.json) in the working directory.
|
init Creates a new Bloom project configuration file (bloom.json), in the working directory.
|
||||||
|
|
||||||
For more information on getting started with Bloom, please visit https://bloom.oscillate.io/docs/getting-started.
|
For more information on getting started with Bloom, please visit https://bloom.oscillate.io/docs/getting-started.
|
||||||
|
|||||||
@@ -33,7 +33,6 @@ PinWidget::PinWidget(QWidget* parent, const TargetPinDescriptor& pinDescriptor,
|
|||||||
this->pinNameLabel->setToolTip(pinName);
|
this->pinNameLabel->setToolTip(pinName);
|
||||||
if (pinName.size() > 4) {
|
if (pinName.size() > 4) {
|
||||||
pinName.truncate(4);
|
pinName.truncate(4);
|
||||||
pinName.append('.');
|
|
||||||
}
|
}
|
||||||
this->pinNameLabel->setText(pinName);
|
this->pinNameLabel->setText(pinName);
|
||||||
this->pinNameLabel->setAlignment(Qt::AlignmentFlag::AlignCenter);
|
this->pinNameLabel->setAlignment(Qt::AlignmentFlag::AlignCenter);
|
||||||
|
|||||||
@@ -33,9 +33,8 @@ PinWidget::PinWidget(QWidget* parent, const TargetPinDescriptor& pinDescriptor,
|
|||||||
this->pinNameLabel = new QLabel(this);
|
this->pinNameLabel = new QLabel(this);
|
||||||
this->pinNameLabel->setObjectName("target-pin-name");
|
this->pinNameLabel->setObjectName("target-pin-name");
|
||||||
this->pinNameLabel->setToolTip(pinName);
|
this->pinNameLabel->setToolTip(pinName);
|
||||||
if (pinName.size() > 5) {
|
if (pinName.size() > 4) {
|
||||||
pinName.truncate(5);
|
pinName.truncate(4);
|
||||||
pinName.append('.');
|
|
||||||
}
|
}
|
||||||
this->pinNameLabel->setText(pinName);
|
this->pinNameLabel->setText(pinName);
|
||||||
this->pinNameLabel->setAlignment(Qt::AlignmentFlag::AlignCenter);
|
this->pinNameLabel->setAlignment(Qt::AlignmentFlag::AlignCenter);
|
||||||
|
|||||||
Reference in New Issue
Block a user