Skip to content

Commit 56cf09f

Browse files
committed
Search window: window size behavior fixed (closed #180)
1 parent 7e1780e commit 56cf09f

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

‎qt-app/src/filessearchdialog/cfilessearchwindow.ui‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,12 @@
3131
<layout class="QGridLayout" name="gridLayout" columnstretch="0,0,1,0">
3232
<item row="0" column="0" colspan="3">
3333
<widget class="CHistoryComboBox" name="nameToFind">
34+
<property name="sizePolicy">
35+
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
36+
<horstretch>0</horstretch>
37+
<verstretch>0</verstretch>
38+
</sizepolicy>
39+
</property>
3440
<property name="editable">
3541
<bool>true</bool>
3642
</property>
@@ -136,6 +142,12 @@
136142
</property>
137143
<item>
138144
<widget class="CHistoryComboBox" name="fileContentsToFind">
145+
<property name="sizePolicy">
146+
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
147+
<horstretch>0</horstretch>
148+
<verstretch>0</verstretch>
149+
</sizepolicy>
150+
</property>
139151
<property name="editable">
140152
<bool>true</bool>
141153
</property>
@@ -206,6 +218,12 @@
206218
</item>
207219
<item row="4" column="1">
208220
<widget class="CHistoryComboBox" name="searchRoot">
221+
<property name="sizePolicy">
222+
<sizepolicy hsizetype="Ignored" vsizetype="Fixed">
223+
<horstretch>0</horstretch>
224+
<verstretch>0</verstretch>
225+
</sizepolicy>
226+
</property>
209227
<property name="editable">
210228
<bool>true</bool>
211229
</property>
@@ -215,6 +233,21 @@
215233
</item>
216234
<item>
217235
<widget class="QListWidget" name="resultsList">
236+
<property name="editTriggers">
237+
<set>QAbstractItemView::EditTrigger::NoEditTriggers</set>
238+
</property>
239+
<property name="textElideMode">
240+
<enum>Qt::TextElideMode::ElideMiddle</enum>
241+
</property>
242+
<property name="horizontalScrollMode">
243+
<enum>QAbstractItemView::ScrollMode::ScrollPerPixel</enum>
244+
</property>
245+
<property name="isWrapping" stdset="0">
246+
<bool>false</bool>
247+
</property>
248+
<property name="resizeMode">
249+
<enum>QListView::ResizeMode::Adjust</enum>
250+
</property>
218251
<property name="uniformItemSizes">
219252
<bool>true</bool>
220253
</property>
@@ -256,12 +289,21 @@
256289
</item>
257290
<item>
258291
<widget class="QLabel" name="progressLabel">
292+
<property name="sizePolicy">
293+
<sizepolicy hsizetype="Ignored" vsizetype="Preferred">
294+
<horstretch>0</horstretch>
295+
<verstretch>0</verstretch>
296+
</sizepolicy>
297+
</property>
259298
<property name="text">
260299
<string notr="true"/>
261300
</property>
262301
<property name="textFormat">
263302
<enum>Qt::TextFormat::PlainText</enum>
264303
</property>
304+
<property name="textInteractionFlags">
305+
<set>Qt::TextInteractionFlag::NoTextInteraction</set>
306+
</property>
265307
</widget>
266308
</item>
267309
</layout>

0 commit comments

Comments
 (0)