Skip to content

Commit e4b2d43

Browse files
committed
Use flat group box in options dialog to reduce nesting
1 parent 79a57a2 commit e4b2d43

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

src/ui/qgsoptionsbase.ui

+13-7
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@
248248
<item>
249249
<widget class="QStackedWidget" name="mOptionsStackedWidget">
250250
<property name="currentIndex">
251-
<number>5</number>
251+
<number>0</number>
252252
</property>
253253
<widget class="QWidget" name="mOptionsPageGeneral">
254254
<layout class="QVBoxLayout" name="verticalLayout_3">
@@ -268,8 +268,8 @@
268268
<rect>
269269
<x>0</x>
270270
<y>0</y>
271-
<width>399</width>
272-
<height>538</height>
271+
<width>647</width>
272+
<height>589</height>
273273
</rect>
274274
</property>
275275
<layout class="QVBoxLayout" name="verticalLayout_28">
@@ -1293,8 +1293,8 @@
12931293
<rect>
12941294
<x>0</x>
12951295
<y>0</y>
1296-
<width>407</width>
1297-
<height>367</height>
1296+
<width>647</width>
1297+
<height>589</height>
12981298
</rect>
12991299
</property>
13001300
<layout class="QVBoxLayout" name="verticalLayout_27">
@@ -1603,8 +1603,8 @@
16031603
<rect>
16041604
<x>0</x>
16051605
<y>0</y>
1606-
<width>524</width>
1607-
<height>669</height>
1606+
<width>630</width>
1607+
<height>674</height>
16081608
</rect>
16091609
</property>
16101610
<layout class="QVBoxLayout" name="verticalLayout_29">
@@ -1714,6 +1714,9 @@
17141714
<property name="title">
17151715
<string>Enable feature simplification by default for newly added layers</string>
17161716
</property>
1717+
<property name="flat">
1718+
<bool>true</bool>
1719+
</property>
17171720
<property name="checkable">
17181721
<bool>true</bool>
17191722
</property>
@@ -1918,6 +1921,9 @@
19181921
<property name="title">
19191922
<string>Contrast enhancement</string>
19201923
</property>
1924+
<property name="flat">
1925+
<bool>true</bool>
1926+
</property>
19211927
<layout class="QVBoxLayout" name="verticalLayout_11">
19221928
<item>
19231929
<widget class="QWidget" name="widget_3" native="true">

0 commit comments

Comments
 (0)