File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
src/Interface/Application Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -375,6 +375,17 @@ void NetworkEditor::setupModuleWidget(ModuleWidget* module)
375375 proxy->createPortPositionProviders ();
376376 proxy->highlightPorts (Preferences::Instance ().highlightPorts ? 1 : 0 );
377377
378+ auto expand = Core::Application::Instance ().parameters ()->developerParameters ()->guiExpandFactor ().get_value_or (-1 );
379+
380+ if (expand > 0 )
381+ {
382+ qDebug () << " expand factor:" << expand;
383+ qDebug () << proxy->size ();
384+ module ->setFixedHeight (proxy->size ().height () * expand);
385+ proxy->setMaximumHeight (proxy->size ().height () * expand);
386+ qDebug () << proxy->size ();
387+ }
388+
378389 scene_->addItem (proxy);
379390 ensureVisible (proxy);
380391 proxy->createStartupNote ();
You can’t perform that action at this time.
0 commit comments