Commit 0aa4f1e3 authored by CABEL Tristan's avatar CABEL Tristan

clut fitInView

parent 4ab4cadd
......@@ -707,6 +707,7 @@ dtkVisualizationWidgetsClutEditor::dtkVisualizationWidgetsClutEditor(QWidget *pa
d->button_apply->setToolTip("Applied");
d->button_apply->setPalette(palette);
d->button_apply->setAutoFillBackground(false);
d->button_apply->setCheckState(Qt::Checked);
d->label_value = new QLineEdit("v:");
......@@ -904,6 +905,8 @@ void dtkVisualizationWidgetsClutEditor::importClut(const QString& clut)
if(d->button_apply->isChecked())
this->onApply();
d->view->fitInView(d->view->sceneRect());
}
......@@ -1041,6 +1044,7 @@ void dtkVisualizationWidgetsClutEditor::importClut(void)
}
d->table->update();
d->view->fitInView(d->view->sceneRect());
d->button_log->setChecked(log);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment