]> git.lyx.org Git - lyx.git/commitdiff
Change size policy of buffer combo in refs dialog
authorJuergen Spitzmueller <spitz@lyx.org>
Thu, 2 Aug 2018 07:08:11 +0000 (09:08 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Fri, 3 Aug 2018 17:46:27 +0000 (19:46 +0200)
Fixes: #9316
(cherry picked from commit b286c6d23578e06500504e16980b99c1ed84fa81)

src/frontends/qt4/ui/RefUi.ui
status.23x

index 049a8fd3d46f9253443374c2e2716d4b04e30fb3..e1c8bf83f53d43f8ef570311213026242e7f2fb3 100644 (file)
        <item>
         <widget class="QComboBox" name="bufferCO">
          <property name="sizePolicy">
-          <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+          <sizepolicy hsizetype="Ignored" vsizetype="Fixed">
            <horstretch>0</horstretch>
            <verstretch>0</verstretch>
           </sizepolicy>
          <property name="toolTip">
           <string>The (sub-)document from which the available labels are displayed</string>
          </property>
+         <property name="sizeAdjustPolicy">
+          <enum>QComboBox::AdjustToContentsOnFirstShow</enum>
+         </property>
+         <property name="minimumContentsLength">
+          <number>0</number>
+         </property>
         </widget>
        </item>
       </layout>
index 8facaa766f45268f6702e1482e1d6ed590b761cb..e0b2ec571f9d0e28002edb6c9ca7596a7230a2c8 100644 (file)
@@ -281,6 +281,8 @@ What's new
 
 - Fix display of RTL text in tooltips (bug 10672).
 
+- Fix size policy of buffer combo in refs dialog (bug 9316).
+
 
 * INTERNALS