Little fix on offset/thickness task panel
This commit is contained in:
parent
72bba68c2b
commit
de5edb8f88
|
@ -74,9 +74,9 @@ OffsetWidget::OffsetWidget(Part::Offset* offset, QWidget* parent)
|
|||
|
||||
d->offset = offset;
|
||||
d->ui.setupUi(this);
|
||||
d->ui.spinOffset->setValue(d->offset->Value.getValue());
|
||||
d->ui.spinOffset->setRange(-INT_MAX, INT_MAX);
|
||||
d->ui.spinOffset->setSingleStep(0.1);
|
||||
d->ui.spinOffset->setValue(d->offset->Value.getValue());
|
||||
d->ui.facesButton->hide();
|
||||
}
|
||||
|
||||
|
|
|
@ -100,9 +100,9 @@ ThicknessWidget::ThicknessWidget(Part::Thickness* thickness, QWidget* parent)
|
|||
|
||||
d->thickness = thickness;
|
||||
d->ui.setupUi(this);
|
||||
d->ui.spinOffset->setValue(d->thickness->Value.getValue());
|
||||
d->ui.spinOffset->setRange(-INT_MAX, INT_MAX);
|
||||
d->ui.spinOffset->setSingleStep(0.1);
|
||||
d->ui.spinOffset->setValue(d->thickness->Value.getValue());
|
||||
d->ui.labelOffset->setText(tr("Thickness"));
|
||||
d->ui.fillOffset->hide();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user