Add the ability to create spacers, for better layouts

This commit is contained in:
baldurk committed 2020-12-03 13:24:56 +00:00
1 parent a176849962
commit a8a40ca3d6
4 files changed
+30 -1

No files matched your search

+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);