]> git.lyx.org Git - features.git/commitdiff
* LanguageUi.ui - change layout.
authorPavel Sanda <sanda@lyx.org>
Tue, 9 May 2023 18:33:42 +0000 (20:33 +0200)
committerPavel Sanda <sanda@lyx.org>
Tue, 9 May 2023 18:33:42 +0000 (20:33 +0200)
This pane is responsible for horizontal excess size (at least in CZ
translation) of document settings panel. The reason is second encoding combo
which get very lengthy (there are actually 3 of them).
This patch moves them to separate line.

Beware, touching this panel is headache.
Qt Designer (5.15.2) does not know even how to load this ui
file correctly and it's impossible to move unicodeEncodingCO.
When breaking layout this CO is mysteriously deleted.

Finally I gave up and simply edited file in vim to get COs to the new row.

src/frontends/qt/ui/LanguageUi.ui

index 23e863056d467b8e2377dd82daed4b1bd0f5a1ab..e211fdf6ccdc14e4f7f280af2298a8fbf3062de2 100644 (file)
        </property>
       </widget>
      </item>
-     <item row="0" column="2">
+     <item row="1" column="1">
       <widget class="QComboBox" name="unicodeEncodingCO">
        <property name="visible">
         <bool>true</bool>
        </property>
       </widget>
      </item>
-     <item row="0" column="2">
+     <item row="1" column="1">
       <widget class="QComboBox" name="autoEncodingCO">
        <property name="enabled">
         <bool>false</bool>
        </property>
       </widget>
      </item>
-     <item row="0" column="2">
+     <item row="1" column="1">
       <widget class="QComboBox" name="customEncodingCO">
        <property name="visible">
         <bool>false</bool>