I have a patch for a working scroll area:
diff --git a/src/mainWindow.cpp b/src/mainWindow.cpp
index e124c13..1a0cc8e 100644
--- a/src/mainWindow.cpp
+++ b/src/mainWindow.cpp
@@ -137,12 +137,9 @@ MainWindow MainWindow::openFile(const char fileName)
     str.append(fileName);
     mw->setWindowTitle(str);
w);
     QWidget *grid = new QWidget(mw);
     QGridLayout *gridLayout = new QGridLayout();
     grid->setLayout(gridLayout);
-    //sv->setWidget(grid);
     QLabel *l = new QLabel("driver", grid);
     gridLayout->addWidget(l, 0, 0);
@@ -226,7 +223,11 @@ MainWindow *MainWindow::openFile(const char *fileName)
        }
     }
-    mw->setCentralWidget(grid);
+    QScrollArea *sv = new QScrollArea(mw);
+    sv->setWidget(grid);
+    sv->setBackgroundRole(QPalette::Light);
+    sv->setSizePolicy(QSizePolicy::Preferred, QSizePolicy::Preferred);
+    mw->setCentralWidget(sv);
     mw->setVisible(true);
     return mw;
 }
I have this on github in https://github.com/lucasw/v4l2ucp, but is the right thing to do here to fork within sourceforge and do a merge request here?
Either git-formatted patch or a pull request would work.
On Mon, Dec 21, 2015 at 11:36 AM, lucasw lucasw@users.sf.net wrote:
Related
Patches: #2