Change GridPopWidget popup pos.
This commit is contained in:
@@ -648,7 +648,7 @@ void QDicomViewer::SetupGridTool(QToolButton *gridBtn) {
|
||||
GridPopWidget *gpw = new GridPopWidget(gridBtn);
|
||||
connect(gpw, &GridPopWidget::Signal_ViewLayout,
|
||||
ui->viewContainer, &ViewContainerWidget::viewLayoutChanged);
|
||||
gpw->move(this->geometry().topLeft() + gridBtn->geometry().bottomLeft() + QPoint(25, 25));
|
||||
gpw->move(this->geometry().topLeft() + gridBtn->geometry().bottomLeft() + QPoint(5, 5));
|
||||
gpw->show();
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user