mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-10 20:04:46 +00:00
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:
parent
57d4b76493
commit
97707102da
@ -57,6 +57,7 @@ ViewSourceWidget::ViewSourceWidget()
|
|||||||
// so we disable the signals here:
|
// so we disable the signals here:
|
||||||
document_->blockSignals(true);
|
document_->blockSignals(true);
|
||||||
viewSourceTV->setDocument(document_);
|
viewSourceTV->setDocument(document_);
|
||||||
|
viewSourceTV->setSizePolicy(QSizePolicy::Ignored, QSizePolicy::Ignored);
|
||||||
document_->blockSignals(false);
|
document_->blockSignals(false);
|
||||||
viewSourceTV->setReadOnly(true);
|
viewSourceTV->setReadOnly(true);
|
||||||
///dialog_->viewSourceTV->setAcceptRichText(false);
|
///dialog_->viewSourceTV->setAcceptRichText(false);
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
<property name="sizeHint" >
|
<property name="sizeHint" >
|
||||||
<size>
|
<size>
|
||||||
<width>20</width>
|
<width>20</width>
|
||||||
<height>40</height>
|
<height>1</height>
|
||||||
</size>
|
</size>
|
||||||
</property>
|
</property>
|
||||||
</spacer>
|
</spacer>
|
||||||
|
Loading…
Reference in New Issue
Block a user