From a8ea0620e918540d924e69f76f173192793031cb Mon Sep 17 00:00:00 2001 From: Uwe Hermann Date: Thu, 14 Mar 2019 21:27:30 +0100 Subject: [PATCH] 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. --- pv/subwindows/decoder_selector/subwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) 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&))); -- 2.30.2