Skip to content

Commit d85247e

Browse files
committed
Expand for UIs
1 parent c06ea3d commit d85247e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/Interface/Application/ModuleWidget.cc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,6 +1074,15 @@ void ModuleWidget::makeOptionsDialog()
10741074
dockable_->setFloating(true);
10751075
}
10761076

1077+
auto expand = Core::Application::Instance().parameters()->developerParameters()->guiExpandFactor().get_value_or(-1);
1078+
if (expand > 0)
1079+
{
1080+
qDebug() << "expand factor for dialogs:" << expand;
1081+
qDebug() << dialog_->size();
1082+
dialog_->setFixedHeight(dialog_->size().height() * expand);
1083+
qDebug() << dialog_->size();
1084+
}
1085+
10771086
dialog_->pull();
10781087
}
10791088
}

0 commit comments

Comments
 (0)