Adjusted some combo boxes of left sidebar widgets to allow the to shrink below the contents length (see issue489). eric7

Mon, 13 Mar 2023 17:58:11 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 13 Mar 2023 17:58:11 +0100
branch
eric7
changeset 9884
5b9453e4c8dd
parent 9882
56a0934d65c8
child 9893
1c658736a137

Adjusted some combo boxes of left sidebar widgets to allow the to shrink below the contents length (see issue489).

src/eric7/UI/FindFileWidget.ui file | annotate | diff | comparison | revisions
src/eric7/UI/SymbolsWidget.ui file | annotate | diff | comparison | revisions
--- a/src/eric7/UI/FindFileWidget.ui	Sun Mar 12 16:55:40 2023 +0100
+++ b/src/eric7/UI/FindFileWidget.ui	Mon Mar 13 17:58:11 2023 +0100
@@ -40,6 +40,9 @@
        <property name="insertPolicy">
         <enum>QComboBox::InsertAtTop</enum>
        </property>
+       <property name="sizeAdjustPolicy">
+        <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
+       </property>
        <property name="duplicatesEnabled">
         <bool>false</bool>
        </property>
@@ -79,6 +82,9 @@
        <property name="insertPolicy">
         <enum>QComboBox::InsertAtTop</enum>
        </property>
+       <property name="sizeAdjustPolicy">
+        <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
+       </property>
        <property name="duplicatesEnabled">
         <bool>false</bool>
        </property>
--- a/src/eric7/UI/SymbolsWidget.ui	Sun Mar 12 16:55:40 2023 +0100
+++ b/src/eric7/UI/SymbolsWidget.ui	Mon Mar 13 17:58:11 2023 +0100
@@ -37,6 +37,9 @@
      <property name="toolTip">
       <string>Select the table to be shown</string>
      </property>
+     <property name="sizeAdjustPolicy">
+      <enum>QComboBox::AdjustToMinimumContentsLengthWithIcon</enum>
+     </property>
     </widget>
    </item>
    <item>

eric ide

mercurial