Fix #1988654 [Text in the Cover grid preferences does not fit when the window is small.](https://bugs.launchpad.net/calibre/+bug/1988654)

This commit is contained in:
Kovid Goyal 2022-09-14 12:11:42 +05:30
parent ffa7ea75ee
commit 787dad22b9
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -6,7 +6,7 @@
<rect> <rect>
<x>0</x> <x>0</x>
<y>0</y> <y>0</y>
<width>1083</width> <width>1096</width>
<height>791</height> <height>791</height>
</rect> </rect>
</property> </property>
@ -397,6 +397,12 @@
<layout class="QGridLayout" name="gridLayout_4"> <layout class="QGridLayout" name="gridLayout_4">
<item row="0" column="0" colspan="5"> <item row="0" column="0" colspan="5">
<widget class="QLabel" name="cover_size_label"> <widget class="QLabel" name="cover_size_label">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Minimum">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string>By default, calibre chooses a cover size based on your computer's screen size. You can change the cover size here:</string> <string>By default, calibre chooses a cover size based on your computer's screen size. You can change the cover size here:</string>
</property> </property>
@ -1149,16 +1155,16 @@ using the Tab key. The F2 (Edit) key will still open the template editor.&lt;/p&
</attribute> </attribute>
<layout class="QGridLayout" name="verticalLayout_42"> <layout class="QGridLayout" name="verticalLayout_42">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel"> <widget class="QLabel" name="label">
<property name="toolTip">
<string>User categories and Saved searches cannot be moved</string>
</property>
<property name="text"> <property name="text">
<string>Select the categories to display in the Tag browser, and their &amp;order</string> <string>Select the categories to display in the Tag browser, and their &amp;order</string>
</property> </property>
<property name="buddy"> <property name="buddy">
<cstring>tb_display_order</cstring> <cstring>tb_display_order</cstring>
</property> </property>
<property name="toolTip">
<string>User categories and Saved searches cannot be moved</string>
</property>
</widget> </widget>
</item> </item>
<item row="1" column="0" rowspan="3"> <item row="1" column="0" rowspan="3">
@ -1481,13 +1487,7 @@ up into subcategories. If the partition method is set to disable, this value is
</layout> </layout>
</item> </item>
<item row="1" column="0"> <item row="1" column="0">
<widget class="QLabel"> <widget class="QLabel" name="label">
<property name="text">
<string>Select categories to &amp;partition:</string>
</property>
<property name="buddy">
<cstring>tb_cats_to_partition</cstring>
</property>
<property name="toolTip"> <property name="toolTip">
<string>&lt;p&gt;Check the box for categories that are to <string>&lt;p&gt;Check the box for categories that are to
be partitioned using the criteria above. Uncheck the box if you don't want to be partitioned using the criteria above. Uncheck the box if you don't want to
@ -1496,6 +1496,12 @@ the value shown above. This option can be used to
avoid collapsing hierarchical categories that have only avoid collapsing hierarchical categories that have only
a few top-level elements.&lt;/p&gt;</string> a few top-level elements.&lt;/p&gt;</string>
</property> </property>
<property name="text">
<string>Select categories to &amp;partition:</string>
</property>
<property name="buddy">
<cstring>tb_cats_to_partition</cstring>
</property>
</widget> </widget>
</item> </item>
<item row="2" column="0"> <item row="2" column="0">
@ -1572,13 +1578,7 @@ structure and you want to use the same for each one.&lt;/p&gt;</string>
</attribute> </attribute>
<layout class="QGridLayout"> <layout class="QGridLayout">
<item row="0" column="0"> <item row="0" column="0">
<widget class="QLabel"> <widget class="QLabel" name="label">
<property name="text">
<string>Select categories with &amp;hierarchical items:</string>
</property>
<property name="buddy">
<cstring>tb_hierarchical_cats</cstring>
</property>
<property name="toolTip"> <property name="toolTip">
<string>&lt;p&gt;Check the box for an item if it is to be displayed as a <string>&lt;p&gt;Check the box for an item if it is to be displayed as a
hierarchical tree in the Tag browser. For example, if you check hierarchical tree in the Tag browser. For example, if you check
@ -1589,6 +1589,12 @@ then the tags will be displayed each on their own line.&lt;/p&gt;
&lt;p&gt;The categories 'authors', 'publisher', 'news', 'formats', and 'rating' &lt;p&gt;The categories 'authors', 'publisher', 'news', 'formats', and 'rating'
cannot be hierarchical.&lt;/p&gt;</string> cannot be hierarchical.&lt;/p&gt;</string>
</property> </property>
<property name="text">
<string>Select categories with &amp;hierarchical items:</string>
</property>
<property name="buddy">
<cstring>tb_hierarchical_cats</cstring>
</property>
</widget> </widget>
</item> </item>
<item row="1" column="0" rowspan="3"> <item row="1" column="0" rowspan="3">
@ -1675,16 +1681,16 @@ structure and you want to use the same for each one.&lt;/p&gt;</string>
</spacer> </spacer>
</item> </item>
<item row="11" column="0"> <item row="11" column="0">
<widget class="QLabel"> <widget class="QLabel" name="label">
<property name="text">
<string>Set the &amp;order of searches when clicking on items</string>
</property>
<property name="toolTip"> <property name="toolTip">
<string>&lt;p&gt;Set the order of the searches when clicking on an item in <string>&lt;p&gt;Set the order of the searches when clicking on an item in
the Tag browser. The 'or its children' options are ignored when clicking on the Tag browser. The 'or its children' options are ignored when clicking on
top-level categories, items that aren't in a hierarchical category, and items top-level categories, items that aren't in a hierarchical category, and items
that don't have children.&lt;/p&gt;</string> that don't have children.&lt;/p&gt;</string>
</property> </property>
<property name="text">
<string>Set the &amp;order of searches when clicking on items</string>
</property>
<property name="buddy"> <property name="buddy">
<cstring>tb_search_order</cstring> <cstring>tb_search_order</cstring>
</property> </property>
@ -2043,7 +2049,7 @@ column being examined (the left-hand panel)&lt;/p&gt;</string>
</item> </item>
</layout> </layout>
</widget> </widget>
<customwidgets>ListWidgetWithMoveByKeyPress <customwidgets>
<customwidget> <customwidget>
<class>ListViewWithMoveByKeyPress</class> <class>ListViewWithMoveByKeyPress</class>
<extends>QListView</extends> <extends>QListView</extends>
@ -2054,11 +2060,6 @@ column being examined (the left-hand panel)&lt;/p&gt;</string>
<extends>QListWidget</extends> <extends>QListWidget</extends>
<header>calibre/gui2/preferences.h</header> <header>calibre/gui2/preferences.h</header>
</customwidget> </customwidget>
<customwidget>
<class>EditWithComplete</class>
<extends>QComboBox</extends>
<header>calibre/gui2/complete2.h</header>
</customwidget>
<customwidget> <customwidget>
<class>ScrollingTabWidget</class> <class>ScrollingTabWidget</class>
<extends>QTabWidget</extends> <extends>QTabWidget</extends>