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:
|
||||
--help, -h Displays this help text.
|
||||
--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.
|
||||
|
||||
@@ -33,7 +33,6 @@ PinWidget::PinWidget(QWidget* parent, const TargetPinDescriptor& pinDescriptor,
|
||||
this->pinNameLabel->setToolTip(pinName);
|
||||
if (pinName.size() > 4) {
|
||||
pinName.truncate(4);
|
||||
pinName.append('.');
|
||||
}
|
||||
this->pinNameLabel->setText(pinName);
|
||||
this->pinNameLabel->setAlignment(Qt::AlignmentFlag::AlignCenter);
|
||||
|
||||
@@ -33,9 +33,8 @@ PinWidget::PinWidget(QWidget* parent, const TargetPinDescriptor& pinDescriptor,
|
||||
this->pinNameLabel = new QLabel(this);
|
||||
this->pinNameLabel->setObjectName("target-pin-name");
|
||||
this->pinNameLabel->setToolTip(pinName);
|
||||
if (pinName.size() > 5) {
|
||||
pinName.truncate(5);
|
||||
pinName.append('.');
|
||||
if (pinName.size() > 4) {
|
||||
pinName.truncate(4);
|
||||
}
|
||||
this->pinNameLabel->setText(pinName);
|
||||
this->pinNameLabel->setAlignment(Qt::AlignmentFlag::AlignCenter);
|
||||
|
||||
Reference in New Issue
Block a user