diff --git a/src/control/search-detail-view.cpp b/src/control/search-detail-view.cpp index aa3caee..109bdae 100644 --- a/src/control/search-detail-view.cpp +++ b/src/control/search-detail-view.cpp @@ -217,7 +217,7 @@ void SearchDetailView::setAppWidget(const QString &appname, const QString &path, m_optionView->show(); QFontMetrics fontMetrics = m_nameLabel->fontMetrics(); - QString showname = fontMetrics.elidedText(m_name, Qt::ElideRight, 215); //当字体长度超过215时显示为省略号 + QString showname = fontMetrics.elidedText(m_name, Qt::ElideRight, 200); //当字体长度超过200时显示为省略号 // m_nameLabel->setText(showname); m_nameLabel->setText(QString("