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) {
ui->curvesLayout->addWidget(edit, i, 1, 1, 1);
} else {
ui->curvesLayout2->addWidget(edit, i-limit, 1, 1, 1);
ui->curvesLayout2->addWidget(edit, i-limit, 2, 1, 1);
}
// The curve plot checkbox
@@ -145,7 +145,7 @@ Curves::Curves(QWidget * parent, ModelData & model, GeneralSettings & generalSet
if (i<limit) {
ui->curvesLayout->addWidget(plot, i, 2, 1, 1);
} 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);
+2 -2
View File
@@ -6,7 +6,7 @@
<rect>
<x>0</x>
<y>0</y>
<width>624</width>
<width>672</width>
<height>539</height>
</rect>
</property>
@@ -20,7 +20,7 @@
<item>
<layout class="QVBoxLayout" name="verticalLayout_1">
<property name="rightMargin">
<number>10</number>
<number>0</number>
</property>
<item>
<widget class="QGraphicsView" name="curvePreview">