mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-03 10:57:52 +00:00
Add a MiniQtHelper to set spacing/margins on layouts
This commit is contained in:
@@ -170,6 +170,14 @@ struct MiniQtInvoker : UIThreadInvoker<IMiniQtHelper>
|
||||
{
|
||||
InvokeVoidFunction(&IMiniQtHelper::InsertWidget, parent, index, child);
|
||||
}
|
||||
void SetLayoutSpacing(QWidget *layout, int spacing)
|
||||
{
|
||||
InvokeVoidFunction(&IMiniQtHelper::SetLayoutSpacing, layout, spacing);
|
||||
}
|
||||
void SetLayoutMargins(QWidget *layout, int horizontal, int vertical)
|
||||
{
|
||||
InvokeVoidFunction(&IMiniQtHelper::SetLayoutMargins, layout, horizontal, vertical);
|
||||
}
|
||||
|
||||
// widget manipulation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user