From: Uwe Hermann Date: Thu, 14 Mar 2019 20:42:42 +0000 (+0100) Subject: DecoderSelector: Make decoder tag names fully visible X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=b54aeaea0dd45742324d9fce9d0cc6f5ed49b506;p=pulseview.git DecoderSelector: Make decoder tag names fully visible --- diff --git a/pv/subwindows/decoder_selector/subwindow.cpp b/pv/subwindows/decoder_selector/subwindow.cpp index c8e0e1c1..086b0064 100644 --- a/pv/subwindows/decoder_selector/subwindow.cpp +++ b/pv/subwindows/decoder_selector/subwindow.cpp @@ -105,6 +105,9 @@ SubWindow::SubWindow(Session& session, QWidget* parent) : // Hide the columns that hold the detailed item information tree_view_->hideColumn(2); // ID + // Ensure that all decoder tag names are fully visible by default + tree_view_->resizeColumnToContents(0); + info_box_->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Expanding); QVBoxLayout* info_box_layout = new QVBoxLayout(info_box_); info_box_layout->addWidget(info_label_header_);