diff --git a/plotjuggler_plugins/PluginsZcm/config_zcm.ui b/plotjuggler_plugins/PluginsZcm/config_zcm.ui index 2aefbd8d2..ec0bda40e 100644 --- a/plotjuggler_plugins/PluginsZcm/config_zcm.ui +++ b/plotjuggler_plugins/PluginsZcm/config_zcm.ui @@ -7,7 +7,7 @@ 0 0 553 - 264 + 200 @@ -78,6 +78,9 @@ + + QAbstractScrollArea::AdjustToContents + QAbstractItemView::NoEditTriggers @@ -137,12 +140,6 @@ Qt::Vertical - - - 20 - 40 - - diff --git a/plotjuggler_plugins/PluginsZcm/dataload_zcm.cpp b/plotjuggler_plugins/PluginsZcm/dataload_zcm.cpp index 9cfd44342..6c9731f1f 100644 --- a/plotjuggler_plugins/PluginsZcm/dataload_zcm.cpp +++ b/plotjuggler_plugins/PluginsZcm/dataload_zcm.cpp @@ -28,7 +28,9 @@ DataLoadZcm::DataLoadZcm() _ui->setupUi(_dialog); _config_widget = new ConfigZCM("DataLoadZcm", _dialog); + _config_widget->setSizePolicy(QSizePolicy::Expanding, QSizePolicy::Preferred); _ui->mainLayout->insertWidget(0, _config_widget, 1); + _ui->mainLayout->setStretchFactor(_config_widget, 0); _ui->buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false);