]> git.lyx.org Git - features.git/commitdiff
Spellchecker dialog alignment fixes
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 24 Dec 2018 14:16:28 +0000 (15:16 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 24 Dec 2018 14:16:28 +0000 (15:16 +0100)
Patch by Daniel Ramöller (racoon)

src/frontends/qt4/ui/SpellcheckerUi.ui

index c8d6a863b9cb530c781e3235d6f3297b9699814b..1b66dc9d40e983a6e152ab12a1b9ce79188a3737 100644 (file)
@@ -1,7 +1,8 @@
-<ui version="4.0" >
+<?xml version="1.0" encoding="UTF-8"?>
+<ui version="4.0">
  <class>SpellcheckerUi</class>
- <widget class="QWidget" name="SpellcheckerUi" >
-  <property name="geometry" >
+ <widget class="QWidget" name="SpellcheckerUi">
+  <property name="geometry">
    <rect>
     <x>0</x>
     <y>0</y>
     <height>380</height>
    </rect>
   </property>
-  <property name="minimumSize" >
+  <property name="minimumSize">
    <size>
     <width>260</width>
     <height>320</height>
    </size>
   </property>
-  <property name="windowTitle" >
+  <property name="windowTitle">
    <string>Spell Checker</string>
   </property>
-  <layout class="QGridLayout" name="gridLayout" >
-   <item row="0" column="0" colspan="2" >
-    <layout class="QHBoxLayout" name="horizontalLayout" >
+  <layout class="QGridLayout" name="gridLayout" columnstretch="1,0">
+   <item row="5" column="0">
+    <widget class="QComboBox" name="replaceCO">
+     <property name="focusPolicy">
+      <enum>Qt::StrongFocus</enum>
+     </property>
+     <property name="toolTip">
+      <string>Replace with selected word</string>
+     </property>
+     <property name="editable">
+      <bool>true</bool>
+     </property>
+     <property name="insertPolicy">
+      <enum>QComboBox::InsertAtTop</enum>
+     </property>
+     <property name="autoCompletion">
+      <bool>true</bool>
+     </property>
+     <property name="duplicatesEnabled">
+      <bool>false</bool>
+     </property>
+    </widget>
+   </item>
+   <item row="5" column="1">
+    <widget class="QPushButton" name="replacePB">
+     <property name="toolTip">
+      <string>Replace word with current choice</string>
+     </property>
+     <property name="text">
+      <string>&amp;Replace</string>
+     </property>
+    </widget>
+   </item>
+   <item row="7" column="1">
+    <widget class="QPushButton" name="ignorePB">
+     <property name="toolTip">
+      <string>Ignore this word</string>
+     </property>
+     <property name="text">
+      <string>&amp;Ignore</string>
+     </property>
+    </widget>
+   </item>
+   <item row="0" column="0" colspan="2">
+    <layout class="QHBoxLayout" name="horizontalLayout">
      <item>
-      <widget class="QLabel" name="languageLA" >
-       <property name="text" >
+      <widget class="QLabel" name="languageLA">
+       <property name="text">
         <string>&amp;Language:</string>
        </property>
-       <property name="buddy" >
+       <property name="buddy">
         <cstring>languageCO</cstring>
        </property>
       </widget>
      </item>
      <item>
-      <widget class="QComboBox" name="languageCO" >
-       <property name="sizePolicy" >
-        <sizepolicy vsizetype="Minimum" hsizetype="Expanding" >
+      <widget class="QComboBox" name="languageCO">
+       <property name="sizePolicy">
+        <sizepolicy hsizetype="Expanding" vsizetype="Minimum">
          <horstretch>100</horstretch>
          <verstretch>32</verstretch>
         </sizepolicy>
        </property>
-       <property name="toolTip" >
+       <property name="toolTip">
         <string>The checked language. Switching this alters the language of the checked word.</string>
        </property>
       </widget>
      </item>
     </layout>
    </item>
-   <item row="1" column="0" colspan="2" >
-    <widget class="Line" name="line" >
-     <property name="orientation" >
-      <enum>Qt::Horizontal</enum>
+   <item row="3" column="1">
+    <widget class="QPushButton" name="findNextPB">
+     <property name="toolTip">
+      <string/>
+     </property>
+     <property name="text">
+      <string>&amp;Find Next</string>
      </property>
     </widget>
    </item>
-   <item row="2" column="0" >
-    <widget class="QLabel" name="TextLabel3" >
-     <property name="text" >
+   <item row="2" column="0">
+    <widget class="QLabel" name="TextLabel3">
+     <property name="text">
       <string>Unknown word:</string>
      </property>
-     <property name="buddy" >
+     <property name="buddy">
       <cstring>wordED</cstring>
      </property>
     </widget>
    </item>
-   <item row="3" column="0" >
-    <widget class="QLineEdit" name="wordED" >
-     <property name="toolTip" >
+   <item row="3" column="0">
+    <widget class="QLineEdit" name="wordED">
+     <property name="toolTip">
       <string>Current word</string>
      </property>
     </widget>
    </item>
-   <item row="3" column="1" >
-    <widget class="QPushButton" name="findNextPB" >
-     <property name="sizePolicy" >
-      <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
-       <horstretch>100</horstretch>
-       <verstretch>32</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="toolTip" >
-      <string/>
-     </property>
-     <property name="text" >
-      <string>&amp;Find Next</string>
-     </property>
-    </widget>
-   </item>
-   <item row="4" column="0" >
-    <widget class="QLabel" name="TextLabel1" >
-     <property name="text" >
+   <item row="4" column="0">
+    <widget class="QLabel" name="TextLabel1">
+     <property name="text">
       <string>Re&amp;placement:</string>
      </property>
-     <property name="buddy" >
+     <property name="buddy">
       <cstring>replaceCO</cstring>
      </property>
     </widget>
    </item>
-   <item row="5" column="0" >
-    <widget class="QComboBox" name="replaceCO" >
-     <property name="focusPolicy" >
-      <enum>Qt::StrongFocus</enum>
-     </property>
-     <property name="toolTip" >
-      <string>Replace with selected word</string>
-     </property>
-     <property name="editable" >
-      <bool>true</bool>
-     </property>
-     <property name="insertPolicy" >
-      <enum>QComboBox::InsertAtTop</enum>
-     </property>
-     <property name="autoCompletion" >
-      <bool>true</bool>
-     </property>
-     <property name="duplicatesEnabled" >
-      <bool>false</bool>
-     </property>
-    </widget>
-   </item>
-   <item row="5" column="1" >
-    <widget class="QPushButton" name="replacePB" >
-     <property name="sizePolicy" >
-      <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
-       <horstretch>100</horstretch>
-       <verstretch>32</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="toolTip" >
-      <string>Replace word with current choice</string>
-     </property>
-     <property name="text" >
-      <string>&amp;Replace</string>
-     </property>
-    </widget>
-   </item>
-   <item row="6" column="0" >
-    <widget class="QLabel" name="TextLabel2" >
-     <property name="sizePolicy" >
-      <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
+   <item row="6" column="0">
+    <widget class="QLabel" name="TextLabel2">
+     <property name="sizePolicy">
+      <sizepolicy hsizetype="Preferred" vsizetype="Maximum">
        <horstretch>0</horstretch>
        <verstretch>0</verstretch>
       </sizepolicy>
      </property>
-     <property name="text" >
+     <property name="text">
       <string>S&amp;uggestions:</string>
      </property>
-     <property name="buddy" >
+     <property name="buddy">
       <cstring>suggestionsLW</cstring>
      </property>
     </widget>
    </item>
-   <item row="6" column="1" >
-    <widget class="QPushButton" name="replaceAllPB" >
-     <property name="sizePolicy" >
-      <sizepolicy vsizetype="Preferred" hsizetype="Preferred" >
-       <horstretch>100</horstretch>
-       <verstretch>32</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="toolTip" >
+   <item row="6" column="1">
+    <widget class="QPushButton" name="replaceAllPB">
+     <property name="toolTip">
       <string/>
      </property>
-     <property name="text" >
+     <property name="text">
       <string>Replace &amp;All</string>
      </property>
     </widget>
    </item>
-   <item rowspan="4" row="7" column="0" >
-    <widget class="QListWidget" name="suggestionsLW" />
-   </item>
-   <item row="7" column="1" >
-    <widget class="QPushButton" name="ignorePB" >
-     <property name="sizePolicy" >
-      <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
-       <horstretch>100</horstretch>
-       <verstretch>32</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="toolTip" >
-      <string>Ignore this word</string>
-     </property>
-     <property name="text" >
-      <string>&amp;Ignore</string>
-     </property>
-    </widget>
-   </item>
-   <item row="8" column="1" >
-    <widget class="QPushButton" name="ignoreAllPB" >
-     <property name="sizePolicy" >
-      <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
-       <horstretch>100</horstretch>
-       <verstretch>32</verstretch>
-      </sizepolicy>
-     </property>
-     <property name="toolTip" >
+   <item row="8" column="1">
+    <widget class="QPushButton" name="ignoreAllPB">
+     <property name="toolTip">
       <string>Ignore this word throughout this session</string>
      </property>
-     <property name="text" >
+     <property name="text">
       <string>I&amp;gnore All</string>
      </property>
     </widget>
    </item>
-   <item row="9" column="1" >
-    <widget class="QPushButton" name="addPB" >
-     <property name="sizePolicy" >
-      <sizepolicy vsizetype="Maximum" hsizetype="Preferred" >
-       <horstretch>100</horstretch>
-       <verstretch>32</verstretch>
-      </sizepolicy>
+   <item row="1" column="0" colspan="2">
+    <widget class="Line" name="line">
+     <property name="orientation">
+      <enum>Qt::Horizontal</enum>
      </property>
-     <property name="toolTip" >
+    </widget>
+   </item>
+   <item row="7" column="0" rowspan="4">
+    <widget class="QListWidget" name="suggestionsLW"/>
+   </item>
+   <item row="9" column="1">
+    <widget class="QPushButton" name="addPB">
+     <property name="toolTip">
       <string>Add the word to your personal dictionary</string>
      </property>
-     <property name="text" >
+     <property name="text">
       <string>A&amp;dd</string>
      </property>
     </widget>
    </item>
-   <item row="10" column="1" >
+   <item row="10" column="1">
     <spacer>
-     <property name="orientation" >
+     <property name="orientation">
       <enum>Qt::Vertical</enum>
      </property>
-     <property name="sizeType" >
+     <property name="sizeType">
       <enum>QSizePolicy::Expanding</enum>
      </property>
-     <property name="sizeHint" stdset="0" >
+     <property name="sizeHint" stdset="0">
       <size>
        <width>74</width>
        <height>98</height>