From 779b76db5062dddd1f90c87983d6625ba89d8055 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Sat, 20 Aug 2011 17:41:56 +1000 Subject: [PATCH] More AutoFillBackground test --- daily.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/daily.cpp b/daily.cpp index 96c0e31a..2c5cfca8 100644 --- a/daily.cpp +++ b/daily.cpp @@ -90,7 +90,9 @@ Daily::Daily(QWidget *parent,QGLWidget * shared, MainWindow *mw) scrollArea->setAutoFillBackground(true); GraphLayout=new QWidget(scrollArea); - GraphLayout->setAutoFillBackground(false); + GraphLayout->setAutoFillBackground(true); + GraphLayout->setPalette(p); + GraphLayout->setBackgroundRole(QPalette::Window); scrollArea->setWidget(GraphLayout); splitter=new QVBoxLayout(GraphLayout);