diff --git a/qglengine/qglview_test/qglview_window.ui b/qglengine/qglview_test/qglview_window.ui index c8463cc..58acecc 100644 --- a/qglengine/qglview_test/qglview_window.ui +++ b/qglengine/qglview_test/qglview_window.ui @@ -1105,41 +1105,7 @@ - - - QFrame::NoFrame - - - true - - - - - 0 - 0 - 973 - 719 - - - - - 0 - - - 0 - - - 0 - - - 0 - - - - - - - + diff --git a/qglengine/widgets/materials_editor.cpp b/qglengine/widgets/materials_editor.cpp index 19592e2..6ad0297 100644 --- a/qglengine/widgets/materials_editor.cpp +++ b/qglengine/widgets/materials_editor.cpp @@ -30,6 +30,8 @@ MaterialsEditor::MaterialsEditor(QWidget * parent): QWidget(parent) { ui = new Ui::MaterialsEditor(); ui->setupUi(this); ui->widgetMaterial->setMaterial(0); + ui->scrollArea->viewport()->setAutoFillBackground(false); + ui->scrollAreaWidgetContents->setAutoFillBackground(false); view = 0; }