Quote:
Originally Posted by user_none
Quote:
Originally Posted by meme
Since some of my find/replace strings were very long the window was double the width of my screen and could not be shrunk,
|
I'll look into a work around for this.
|
This seems to work (nicked from kate/kwrite source code):
Code:
$ diff -u src/Sigil/Form_Files/FindReplace.ui src/Sigil/Form_Files/FindReplace.ui.new
--- src/Sigil/Form_Files/FindReplace.ui 2011-09-20 13:27:49.155652695 +0200
+++ src/Sigil/Form_Files/FindReplace.ui.new 2011-12-13 19:47:07.884815448 +0200
@@ -58,6 +58,9 @@
<property name="editable">
<bool>true</bool>
</property>
+ <property name="sizeAdjustPolicy">
+ <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
+ </property>
</widget>
</item>
<item row="0" column="2">
@@ -102,6 +105,9 @@
<property name="editable">
<bool>true</bool>
</property>
+ <property name="sizeAdjustPolicy">
+ <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
+ </property>
</widget>
</item>
<item row="1" column="2">