]> sigrok.org Git - pulseview.git/commitdiff
DecoderSelector: Allow word-wrap for PD header/footer as well.
authorUwe Hermann <redacted>
Thu, 14 Mar 2019 20:27:30 +0000 (21:27 +0100)
committerUwe Hermann <redacted>
Thu, 14 Mar 2019 21:49:24 +0000 (22:49 +0100)
Without this, resizing would be unnecessarily limited by the header/footer
length in some cases.

pv/subwindows/decoder_selector/subwindow.cpp

index 3a917190b6f263091aac8b2a9cd5987fe85af056..6302e44976fcfad031452d48ef4bc0df2842c691 100644 (file)
@@ -110,8 +110,10 @@ SubWindow::SubWindow(Session& session, QWidget* parent) :
        info_box_layout->addWidget(info_label_header_);
        info_box_layout->addWidget(info_label_body_);
        info_box_layout->addWidget(info_label_footer_);
+       info_label_header_->setWordWrap(true);
        info_label_body_->setWordWrap(true);
        info_label_body_->setText(tr("Select a decoder to see its description here."));
+       info_label_footer_->setWordWrap(true);
 
        connect(filter, SIGNAL(textChanged(const QString&)),
                this, SLOT(on_filter_changed(const QString&)));