Fix over-wide buttons in preferences

This commit is contained in:
Kovid Goyal 2013-09-25 11:47:12 +05:30
parent 1121081ad0
commit 0405027a3f
2 changed files with 12 additions and 0 deletions

View File

@ -279,6 +279,12 @@ If not checked, the values can be Yes or No.</string>
</item>
<item row="8" column="1">
<widget class="QPushButton" name="reset_confirmation_button">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text">
<string>Reset all disabled &amp;confirmation dialogs</string>
</property>

View File

@ -200,6 +200,12 @@ to be shown as user categories</string>
</item>
<item row="5" column="0" colspan="2">
<widget class="QPushButton" name="clear_history_button">
<property name="sizePolicy">
<sizepolicy hsizetype="Maximum" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="toolTip">
<string>Clear search histories from all over calibre. Including the book list, e-book viewer, fetch news dialog, etc.</string>
</property>