Sample down-loader tree widget stretches to fill view

This commit is contained in:
Bill Somerville 2021-02-18 11:53:34 +00:00
parent 469b9a5ef5
commit 7c89d28fd9
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F

View File

@ -117,7 +117,7 @@ SampleDownloader::impl::impl (QSettings * settings
main_layout_.addLayout (&left_layout_, 0, 0); main_layout_.addLayout (&left_layout_, 0, 0);
main_layout_.addWidget (&button_box_, 0, 1); main_layout_.addWidget (&button_box_, 0, 1);
main_layout_.addWidget (&details_widget_, 1, 0, 1, 2); main_layout_.addWidget (&details_widget_, 1, 0, 1, 2);
main_layout_.setRowStretch (1, 2); main_layout_.setRowStretch (0, 2);
setLayout (&main_layout_); setLayout (&main_layout_);
connect (&button_box_, &QDialogButtonBox::clicked, this, &SampleDownloader::impl::button_clicked); connect (&button_box_, &QDialogButtonBox::clicked, this, &SampleDownloader::impl::button_clicked);