Add the ability to create spacers, for better layouts

This commit is contained in:
baldurk
2020-12-03 13:24:56 +00:00
parent a176849962
commit a8a40ca3d6
4 changed files with 30 additions and 1 deletions
+4 -1
View File
@@ -150,7 +150,10 @@ struct MiniQtInvoker : ObjectForwarder<IMiniQtHelper>
{
return InvokeRetFunction<QWidget *>(&IMiniQtHelper::CreateGridContainer);
}
QWidget *CreateSpacer(bool horizontal)
{
return InvokeRetFunction<QWidget *>(&IMiniQtHelper::CreateSpacer, horizontal);
}
void ClearContainedWidgets(QWidget *parent)
{
InvokeVoidFunction(&IMiniQtHelper::ClearContainedWidgets, parent);