From: Soeren Apel Date: Sun, 22 Dec 2019 17:20:57 +0000 (+0100) Subject: Fix #1462 by letting help label adjust its size X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=fa2f1db5c11a2a06d7f1260b59f8108c7ed8bc13;p=pulseview.git Fix #1462 by letting help label adjust its size --- diff --git a/pv/binding/binding.cpp b/pv/binding/binding.cpp index 9735e146..1f17aefd 100644 --- a/pv/binding/binding.cpp +++ b/pv/binding/binding.cpp @@ -82,6 +82,7 @@ void Binding::add_properties_to_form(QFormLayout *layout, bool auto_commit) help_lbl = new QLabel(p->desc()); help_lbl->setVisible(false); help_lbl->setWordWrap(true); + help_lbl->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::MinimumExpanding); help_labels_[help_btn] = help_lbl; }