From b98a321cb96a21b0dbb7ea6eecebb258c9e9b246 Mon Sep 17 00:00:00 2001 From: itsmattkc Date: Thu, 18 Mar 2021 19:36:41 +1100 Subject: [PATCH] nodeparamview: added tooltip to label This is so it can be truncated at some point but I haven't figured out the best way to do that yet. --- app/widget/nodeparamview/nodeparamviewitem.h | 1 + 1 file changed, 1 insertion(+) diff --git a/app/widget/nodeparamview/nodeparamviewitem.h b/app/widget/nodeparamview/nodeparamviewitem.h index a45fbc661..fd48413e7 100644 --- a/app/widget/nodeparamview/nodeparamviewitem.h +++ b/app/widget/nodeparamview/nodeparamviewitem.h @@ -49,6 +49,7 @@ public: void SetText(const QString& s) { lbl_->setText(s); + lbl_->setToolTip(s); } signals: