From 174a4fb8f636ee67137e1cb0efd7811fc6fa81ec Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Mon, 17 Nov 2008 12:30:28 +0000 Subject: [PATCH] #4430 still not fixed. try better one. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27606 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/qt4/GuiViewSource.cpp | 1 - src/frontends/qt4/ui/ViewSourceUi.ui | 18 ++++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/src/frontends/qt4/GuiViewSource.cpp b/src/frontends/qt4/GuiViewSource.cpp index 37eaa96efa..5941186b98 100644 --- a/src/frontends/qt4/GuiViewSource.cpp +++ b/src/frontends/qt4/GuiViewSource.cpp @@ -57,7 +57,6 @@ ViewSourceWidget::ViewSourceWidget() // so we disable the signals here: document_->blockSignals(true); viewSourceTV->setDocument(document_); - viewSourceTV->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored); document_->blockSignals(false); viewSourceTV->setReadOnly(true); ///dialog_->viewSourceTV->setAcceptRichText(false); diff --git a/src/frontends/qt4/ui/ViewSourceUi.ui b/src/frontends/qt4/ui/ViewSourceUi.ui index 556961ba31..d5231ef198 100644 --- a/src/frontends/qt4/ui/ViewSourceUi.ui +++ b/src/frontends/qt4/ui/ViewSourceUi.ui @@ -6,7 +6,7 @@ 0 0 446 - 93 + 94 @@ -21,16 +21,16 @@ - - 0 - 6 + + 0 + - 0 + ArrowCursor Complete source @@ -62,7 +62,7 @@ Qt::Vertical - + 20 1 @@ -74,6 +74,12 @@ + + + 0 + 0 + + -- 2.39.2