]> sigrok.org Git - pulseview.git/commitdiff
Fix #1462 by letting help label adjust its size
authorSoeren Apel <redacted>
Sun, 22 Dec 2019 17:20:57 +0000 (18:20 +0100)
committerSoeren Apel <redacted>
Sun, 22 Dec 2019 17:20:57 +0000 (18:20 +0100)
pv/binding/binding.cpp

index 9735e14681edaa6d9f1b6bdd642f76ba8db694d8..1f17aefdd530be1029b81276fb480d811f36e8af 100644 (file)
@@ -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;
                }