Port to next (#3941)

This commit is contained in:
3djc
2016-10-21 09:24:21 +02:00
committed by Bertrand Songis
parent e8f043921f
commit e730bf1968
2 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -134,7 +134,7 @@ Curves::Curves(QWidget * parent, ModelData & model, GeneralSettings & generalSet
if (i<limit) { if (i<limit) {
ui->curvesLayout->addWidget(edit, i, 1, 1, 1); ui->curvesLayout->addWidget(edit, i, 1, 1, 1);
} else { } else {
ui->curvesLayout2->addWidget(edit, i-limit, 1, 1, 1); ui->curvesLayout2->addWidget(edit, i-limit, 2, 1, 1);
} }
// The curve plot checkbox // The curve plot checkbox
@@ -145,7 +145,7 @@ Curves::Curves(QWidget * parent, ModelData & model, GeneralSettings & generalSet
if (i<limit) { if (i<limit) {
ui->curvesLayout->addWidget(plot, i, 2, 1, 1); ui->curvesLayout->addWidget(plot, i, 2, 1, 1);
} else { } else {
ui->curvesLayout2->addWidget(plot, i-limit, 2, 1, 1); ui->curvesLayout2->addWidget(plot, i-limit, 1, 1, 1);
} }
} }
QSpacerItem * item = new QSpacerItem(1,1, QSizePolicy::Fixed, QSizePolicy::Expanding); QSpacerItem * item = new QSpacerItem(1,1, QSizePolicy::Fixed, QSizePolicy::Expanding);
+2 -2
View File
@@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>624</width> <width>672</width>
<height>539</height> <height>539</height>
</rect> </rect>
</property> </property>
@@ -20,7 +20,7 @@
<item> <item>
<layout class="QVBoxLayout" name="verticalLayout_1"> <layout class="QVBoxLayout" name="verticalLayout_1">
<property name="rightMargin"> <property name="rightMargin">
<number>10</number> <number>0</number>
</property> </property>
<item> <item>
<widget class="QGraphicsView" name="curvePreview"> <widget class="QGraphicsView" name="curvePreview">