From: Uwe Hermann Date: Thu, 14 Mar 2019 20:27:30 +0000 (+0100) Subject: DecoderSelector: Allow word-wrap for PD header/footer as well. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a8ea0620e918540d924e69f76f173192793031cb;p=pulseview.git DecoderSelector: Allow word-wrap for PD header/footer as well. Without this, resizing would be unnecessarily limited by the header/footer length in some cases. --- diff --git a/pv/subwindows/decoder_selector/subwindow.cpp b/pv/subwindows/decoder_selector/subwindow.cpp index 3a917190..6302e449 100644 --- a/pv/subwindows/decoder_selector/subwindow.cpp +++ b/pv/subwindows/decoder_selector/subwindow.cpp @@ -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&)));