mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-11-07 14:35:48 +00:00
Add option for the flow layout to keep a fixed grid size
This commit is contained in:
1 parent
f336643e37
commit
2483fd776a
3 files changed
+32
-6
No files matched your search
@@ -126,6 +126,8 @@ CaptureDialog::CaptureDialog(CaptureContext *ctx, OnCaptureMethod captureCallbac
|
||||
|
||||
FlowLayout *optionsFlow = new FlowLayout(ui->optionsGroup, -1, 3, 3);
|
||||
|
||||
optionsFlow->setFixedGrid(true);
|
||||
|
||||
for(QObject *o : options)
|
||||
optionsFlow->addWidget(qobject_cast<QWidget *>(o));
|
||||
|
||||
|
||||
Reference in new issue
Block a user