mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-20 13:46:06 +00:00
Minor fixes to function-widget's tooltip (#836)
This commit is contained in:
parent
507771d255
commit
25b4301906
@ -254,7 +254,7 @@ QVariant FunctionModel::data(const QModelIndex &index, int role) const
|
||||
}
|
||||
QString toolTipContent = QString("<html><div style=\"font-family: %1; font-size: %2pt; white-space: nowrap;\">")
|
||||
.arg(fnt.family())
|
||||
.arg(qMax(6, fnt.pointSize() - 1)) // slightly decrease font size, to keep more text in the same
|
||||
.arg(qMax(6, fnt.pointSize() - 1)) // slightly decrease font size, to keep more text in the same box
|
||||
+ tr("<div><strong>Summary</strong>:<br>")
|
||||
+ tr("Size: %1, Cyclomatic complexity: %2, Basic blocks: %3")
|
||||
.arg(size)
|
||||
@ -495,7 +495,7 @@ FunctionsWidget::FunctionsWidget(MainWindow *main, QAction *action) :
|
||||
// Radare core found in:
|
||||
this->main = main;
|
||||
|
||||
setStyleSheet(QString("QToolTip { max-width: %2px; opacity: 230; }").arg(kMaxTooltipWidth));
|
||||
setStyleSheet(QString("QToolTip { max-width: %1px; opacity: 230; }").arg(kMaxTooltipWidth));
|
||||
|
||||
// leave the filter visible by default so users know it exists
|
||||
//ui->filterLineEdit->setVisible(false);
|
||||
|
Loading…
Reference in New Issue
Block a user