gui: mainwindow: Set center alignment for previews
Noticable now that we have vertical scrolling
这个提交包含在:
父节点
1edfcc8f23
当前提交
7c63ee9178
@ -678,6 +678,7 @@ void MainWindow::previewReceived(QSharedPointer<PreviewResult> preview, unsigned
|
||||
previewLayout->setMargin(0);
|
||||
previewLayout->insertStretch(0, 1);
|
||||
previewLayout->insertStretch(-1, 1);
|
||||
previewLayout->setAlignment(Qt::AlignCenter);
|
||||
QWidget *previewWidget = new QWidget();
|
||||
|
||||
previewWidget->setLayout(previewLayout);
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户