Core: Give "New Search" form a minimum width

The search form width depended on the translation and how wide the
three check boxes below the search field were.

Give the form a minimum width of ~680px, to better accommodate
search terms, paths and file extension lists.

Fixes: QTCREATORBUG-27162
Change-Id: Ic8d2ca3acbead1920df58555b118ab80a34be7b1
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Alessandro Portale
2022-04-01 21:44:24 +02:00
parent ab11c4373b
commit a987a55651

View File

@@ -2,20 +2,6 @@
<ui version="4.0">
<class>Core::Internal::FindDialog</class>
<widget class="QWidget" name="Core::Internal::FindDialog">
<property name="geometry">
<rect>
<x>0</x>
<y>0</y>
<width>673</width>
<height>240</height>
</rect>
</property>
<property name="maximumSize">
<size>
<width>680</width>
<height>16777215</height>
</size>
</property>
<layout class="QGridLayout" name="gridLayout">
<property name="sizeConstraint">
<enum>QLayout::SetFixedSize</enum>
@@ -202,6 +188,12 @@
<verstretch>10</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>680</width>
<height>0</height>
</size>
</property>
</widget>
</item>
</layout>