mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-29 21:30:53 +00:00
Add option for the flow layout to keep a fixed grid size
This commit is contained in:
@@ -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