From 38df07a8a7a6e4e60fb802eda0ddb7351ad5dd99 Mon Sep 17 00:00:00 2001 From: Edwin Leuven Date: Fri, 28 Sep 2007 12:34:35 +0000 Subject: [PATCH] put widget in layout git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20569 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/DialogView.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/frontends/qt4/DialogView.h b/src/frontends/qt4/DialogView.h index cff25d7479..bd5923d42f 100644 --- a/src/frontends/qt4/DialogView.h +++ b/src/frontends/qt4/DialogView.h @@ -21,6 +21,7 @@ #include #include #include +#include #include @@ -46,7 +47,10 @@ public: MyController * c = new MyController(*this); controller_ = c; controller_->setLyXView(parent); + QGridLayout * gridLayout = new QGridLayout(this); + gridLayout->setMargin(0); widget_ = new MyWidget(*c, this); + gridLayout->addWidget(widget_); setWindowTitle("LyX: " + widget_->windowTitle()); }