]> git.lyx.org Git - features.git/commitdiff
#4430 still not fixed. try better one.
authorPavel Sanda <sanda@lyx.org>
Mon, 17 Nov 2008 12:30:28 +0000 (12:30 +0000)
committerPavel Sanda <sanda@lyx.org>
Mon, 17 Nov 2008 12:30:28 +0000 (12:30 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27606 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/qt4/GuiViewSource.cpp
src/frontends/qt4/ui/ViewSourceUi.ui

index 37eaa96efa0162ef49eb58bb9f1df6c4fbe30bc9..5941186b9894526d8232351348befcbc3bbfcacf 100644 (file)
@@ -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);
index 556961ba31cbe336008bff196de7794dd6c74146..d5231ef198f75cd729810079405b1df6111b56a1 100644 (file)
@@ -6,7 +6,7 @@
     <x>0</x>
     <y>0</y>
     <width>446</width>
-    <height>93</height>
+    <height>94</height>
    </rect>
   </property>
   <property name="windowTitle" >
    </property>
    <item row="0" column="1" >
     <layout class="QVBoxLayout" >
-     <property name="margin" >
-      <number>0</number>
-     </property>
      <property name="spacing" >
       <number>6</number>
      </property>
+     <property name="margin" >
+      <number>0</number>
+     </property>
      <item>
       <widget class="QCheckBox" name="viewFullSourceCB" >
        <property name="cursor" >
-        <cursor>0</cursor>
+        <cursorShape>ArrowCursor</cursorShape>
        </property>
        <property name="text" >
         <string>Complete source</string>
@@ -62,7 +62,7 @@
        <property name="orientation" >
         <enum>Qt::Vertical</enum>
        </property>
-       <property name="sizeHint" >
+       <property name="sizeHint" stdset="0" >
         <size>
          <width>20</width>
          <height>1</height>
    </item>
    <item row="0" column="0" >
     <widget class="QTextEdit" name="viewSourceTV" >
+     <property name="sizePolicy" >
+      <sizepolicy vsizetype="Ignored" hsizetype="Expanding" >
+       <horstretch>0</horstretch>
+       <verstretch>0</verstretch>
+      </sizepolicy>
+     </property>
      <property name="whatsThis" >
       <string/>
      </property>