The "Language" pane of the Qt document dialog is broken at least in the German 
localization (see attached screenshot).
The attached patch fixes this.

OK to apply?
Jürgen

Attachment: lyx1.png
Description: PNG image

Index: src/frontends/qt2/ui/LanguageModuleBase.ui
===================================================================
RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/qt2/ui/LanguageModuleBase.ui,v
retrieving revision 1.9
diff -u -r1.9 LanguageModuleBase.ui
--- src/frontends/qt2/ui/LanguageModuleBase.ui	7 May 2005 12:12:24 -0000	1.9
+++ src/frontends/qt2/ui/LanguageModuleBase.ui	27 Jan 2006 18:48:22 -0000
@@ -13,13 +13,13 @@
         <rect>
             <x>0</x>
             <y>0</y>
-            <width>440</width>
+            <width>436</width>
             <height>451</height>
         </rect>
     </property>
     <property stdset="1">
         <name>caption</name>
-        <string></string>
+        <string>LanguageModuleBase</string>
     </property>
     <grid>
         <property stdset="1">
@@ -30,7 +30,7 @@
             <name>spacing</name>
             <number>6</number>
         </property>
-        <widget row="0"  column="0"  rowspan="1"  colspan="2" >
+        <widget row="0"  column="0" >
             <class>QLayoutWidget</class>
             <property stdset="1">
                 <name>name</name>
@@ -97,7 +97,7 @@
                 </spacer>
             </hbox>
         </widget>
-        <widget row="1"  column="0"  rowspan="1"  colspan="2" >
+        <widget row="1"  column="0" >
             <class>QCheckBox</class>
             <property stdset="1">
                 <name>name</name>
@@ -108,7 +108,7 @@
                 <string>&amp;Use language's default encoding</string>
             </property>
         </widget>
-        <spacer row="4"  column="1" >
+        <spacer row="3"  column="0" >
             <property>
                 <name>name</name>
                 <cstring>Spacer7</cstring>
@@ -129,34 +129,13 @@
                 </size>
             </property>
         </spacer>
-        <spacer row="3"  column="1" >
-            <property>
-                <name>name</name>
-                <cstring>Spacer33</cstring>
-            </property>
-            <property stdset="1">
-                <name>orientation</name>
-                <enum>Horizontal</enum>
-            </property>
-            <property stdset="1">
-                <name>sizeType</name>
-                <enum>MinimumExpanding</enum>
-            </property>
-            <property>
-                <name>sizeHint</name>
-                <size>
-                    <width>20</width>
-                    <height>20</height>
-                </size>
-            </property>
-        </spacer>
-        <widget row="2"  column="0"  rowspan="2"  colspan="1" >
+        <widget row="2"  column="0" >
             <class>QLayoutWidget</class>
             <property stdset="1">
                 <name>name</name>
-                <cstring>Layout6</cstring>
+                <cstring>Layout5</cstring>
             </property>
-            <grid>
+            <hbox>
                 <property stdset="1">
                     <name>margin</name>
                     <number>0</number>
@@ -165,7 +144,7 @@
                     <name>spacing</name>
                     <number>6</number>
                 </property>
-                <widget row="0"  column="0" >
+                <widget>
                     <class>QLayoutWidget</class>
                     <property stdset="1">
                         <name>name</name>
@@ -190,10 +169,17 @@
                                 <name>text</name>
                                 <string>&amp;Encoding:</string>
                             </property>
+                            <property stdset="1">
+                                <name>alignment</name>
+                                <set>AlignVCenter|AlignLeft</set>
+                            </property>
                             <property>
                                 <name>buddy</name>
                                 <cstring>encodingCO</cstring>
                             </property>
+                            <property>
+                                <name>hAlign</name>
+                            </property>
                         </widget>
                         <widget row="1"  column="0" >
                             <class>QLabel</class>
@@ -205,14 +191,21 @@
                                 <name>text</name>
                                 <string>&amp;Quote Style:</string>
                             </property>
+                            <property stdset="1">
+                                <name>alignment</name>
+                                <set>AlignVCenter|AlignLeft</set>
+                            </property>
                             <property>
                                 <name>buddy</name>
                                 <cstring>quoteStyleCO</cstring>
                             </property>
+                            <property>
+                                <name>hAlign</name>
+                            </property>
                         </widget>
                     </grid>
                 </widget>
-                <widget row="0"  column="1" >
+                <widget>
                     <class>QLayoutWidget</class>
                     <property stdset="1">
                         <name>name</name>
@@ -261,29 +254,29 @@
                         </widget>
                     </grid>
                 </widget>
-            </grid>
+                <spacer>
+                    <property>
+                        <name>name</name>
+                        <cstring>Spacer7_2</cstring>
+                    </property>
+                    <property stdset="1">
+                        <name>orientation</name>
+                        <enum>Horizontal</enum>
+                    </property>
+                    <property stdset="1">
+                        <name>sizeType</name>
+                        <enum>Expanding</enum>
+                    </property>
+                    <property>
+                        <name>sizeHint</name>
+                        <size>
+                            <width>20</width>
+                            <height>20</height>
+                        </size>
+                    </property>
+                </spacer>
+            </hbox>
         </widget>
-        <spacer row="2"  column="1" >
-            <property>
-                <name>name</name>
-                <cstring>Spacer31</cstring>
-            </property>
-            <property stdset="1">
-                <name>orientation</name>
-                <enum>Horizontal</enum>
-            </property>
-            <property stdset="1">
-                <name>sizeType</name>
-                <enum>MinimumExpanding</enum>
-            </property>
-            <property>
-                <name>sizeHint</name>
-                <size>
-                    <width>20</width>
-                    <height>20</height>
-                </size>
-            </property>
-        </spacer>
     </grid>
 </widget>
 <connections>

Reply via email to