From: Soeren Apel Date: Thu, 12 Dec 2019 11:36:43 +0000 (+0100) Subject: DecoderOutputView: Make comboboxes auto-adjusting X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=a13d836f653a19a28b115edff84a5cc6ca55e2ef;p=pulseview.git DecoderOutputView: Make comboboxes auto-adjusting --- diff --git a/pv/views/decoder_output/view.cpp b/pv/views/decoder_output/view.cpp index 052d7163..171767e3 100644 --- a/pv/views/decoder_output/view.cpp +++ b/pv/views/decoder_output/view.cpp @@ -90,6 +90,10 @@ View::View(Session &session, bool is_main_view, QMainWindow *parent) : connect(class_selector_, SIGNAL(currentIndexChanged(int)), this, SLOT(on_selected_class_changed(int))); + // Configure widgets + decoder_selector_->setSizeAdjustPolicy(QComboBox::AdjustToContents); + class_selector_->setSizeAdjustPolicy(QComboBox::AdjustToContents); + hex_view_->setData(merged_data_); reset_view_state();