Quote:
Originally Posted by Ahmad Samir
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">
|
Thanks, this seems to work perfectly. Downloaded and built the source (very easy to do), made the changes and now the windows are the right size and can be resized correctly. The only odd thing still left is that when selecting the down arrow to list the Find history some of the entries are too wide for the screen but this isn't a real issue so far.