diff --git a/src/documentwindow.cpp b/src/documentwindow.cpp index 7e1c66ed..3a75cb28 100644 --- a/src/documentwindow.cpp +++ b/src/documentwindow.cpp @@ -1886,13 +1886,14 @@ void DocumentWindow::showCutFaceSettingPopup(const QPoint &globalPos, std::setaddWidget(button); buttons[i] = button; } + standardFacesLayout->addStretch(); if (nullptr != node) { updateCutFaceButtonState((size_t)node->cutFace); } QVBoxLayout *popupLayout = new QVBoxLayout; popupLayout->addLayout(rotationLayout); - popupLayout->addSpacing(10); + popupLayout->addWidget(Theme::createHorizontalLineWidget()); popupLayout->addLayout(standardFacesLayout); popupLayout->addWidget(cutFaceListWidget); diff --git a/src/partwidget.cpp b/src/partwidget.cpp index 539959e7..ff79a5e8 100644 --- a/src/partwidget.cpp +++ b/src/partwidget.cpp @@ -8,6 +8,7 @@ #include #include #include +#include #include "partwidget.h" #include "theme.h" #include "floatnumberwidget.h" @@ -608,12 +609,13 @@ void PartWidget::showCutRotationSettingPopup(const QPoint &pos) standardFacesLayout->addWidget(button); buttons[i] = button; } + standardFacesLayout->addStretch(); updateCutFaceButtonState((size_t)part->cutFace); QVBoxLayout *popupLayout = new QVBoxLayout; popupLayout->addLayout(rotationLayout); popupLayout->addLayout(hollowThicknessLayout); - popupLayout->addSpacing(10); + popupLayout->addWidget(Theme::createHorizontalLineWidget()); popupLayout->addLayout(standardFacesLayout); popupLayout->addWidget(cutFaceListWidget);