fix #4430 . initial size of the "view source" window can shrunk now.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27493 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2008-11-15 21:55:17 +00:00
parent 57d4b76493
commit 97707102da
2 changed files with 2 additions and 1 deletions

View File

@ -57,6 +57,7 @@ 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);

View File

@ -65,7 +65,7 @@
<property name="sizeHint" >
<size>
<width>20</width>
<height>40</height>
<height>1</height>
</size>
</property>
</spacer>