Fix cut face list margin
parent
0c4a552059
commit
c492b575b1
|
@ -42,7 +42,6 @@
|
||||||
#include "fbxfile.h"
|
#include "fbxfile.h"
|
||||||
#include "shortcuts.h"
|
#include "shortcuts.h"
|
||||||
#include "floatnumberwidget.h"
|
#include "floatnumberwidget.h"
|
||||||
#include "cutfacelistwidget.h"
|
|
||||||
#include "scriptwidget.h"
|
#include "scriptwidget.h"
|
||||||
#include "variablesxml.h"
|
#include "variablesxml.h"
|
||||||
#include "updatescheckwidget.h"
|
#include "updatescheckwidget.h"
|
||||||
|
@ -2183,7 +2182,7 @@ void DocumentWindow::showCutFaceSettingPopup(const QPoint &globalPos, std::set<Q
|
||||||
std::vector<QPushButton *> buttons;
|
std::vector<QPushButton *> buttons;
|
||||||
std::vector<QString> cutFaceList;
|
std::vector<QString> cutFaceList;
|
||||||
|
|
||||||
cutFaceLayout = new FlowLayout;
|
cutFaceLayout = new FlowLayout(nullptr, 0, 0);
|
||||||
|
|
||||||
auto updateCutFaceButtonState = [&](size_t index) {
|
auto updateCutFaceButtonState = [&](size_t index) {
|
||||||
for (size_t i = 0; i < cutFaceList.size(); ++i) {
|
for (size_t i = 0; i < cutFaceList.size(); ++i) {
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
#include "shortcuts.h"
|
#include "shortcuts.h"
|
||||||
#include "graphicscontainerwidget.h"
|
#include "graphicscontainerwidget.h"
|
||||||
#include "flowlayout.h"
|
#include "flowlayout.h"
|
||||||
#include "cutfacelistwidget.h"
|
|
||||||
#include "imageforever.h"
|
#include "imageforever.h"
|
||||||
#include "imagepreviewwidget.h"
|
#include "imagepreviewwidget.h"
|
||||||
|
|
||||||
|
@ -649,7 +648,7 @@ void PartWidget::showCutRotationSettingPopup(const QPoint &pos)
|
||||||
std::vector<QString> cutFaceList;
|
std::vector<QString> cutFaceList;
|
||||||
|
|
||||||
if (part->hasCutFaceFunction()) {
|
if (part->hasCutFaceFunction()) {
|
||||||
cutFaceLayout = new FlowLayout;
|
cutFaceLayout = new FlowLayout(nullptr, 0, 0);
|
||||||
|
|
||||||
auto updateCutFaceButtonState = [&](size_t index) {
|
auto updateCutFaceButtonState = [&](size_t index) {
|
||||||
for (size_t i = 0; i < cutFaceList.size(); ++i) {
|
for (size_t i = 0; i < cutFaceList.size(); ++i) {
|
||||||
|
|
Loading…
Reference in New Issue