Skip to content

Commit 3b4def8

Browse files
committed
[ui] Fix undersized color buttons in the 3D map config dialog
1 parent aec05a7 commit 3b4def8

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

src/ui/3d/phongmaterialwidget.ui

+18
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@
2929
<verstretch>0</verstretch>
3030
</sizepolicy>
3131
</property>
32+
<property name="minimumSize">
33+
<size>
34+
<width>120</width>
35+
<height>0</height>
36+
</size>
37+
</property>
3238
</widget>
3339
</item>
3440
<item row="1" column="0">
@@ -46,6 +52,12 @@
4652
<verstretch>0</verstretch>
4753
</sizepolicy>
4854
</property>
55+
<property name="minimumSize">
56+
<size>
57+
<width>120</width>
58+
<height>0</height>
59+
</size>
60+
</property>
4961
</widget>
5062
</item>
5163
<item row="2" column="0">
@@ -63,6 +75,12 @@
6375
<verstretch>0</verstretch>
6476
</sizepolicy>
6577
</property>
78+
<property name="minimumSize">
79+
<size>
80+
<width>120</width>
81+
<height>0</height>
82+
</size>
83+
</property>
6684
</widget>
6785
</item>
6886
<item row="3" column="0">

src/ui/3d/qgslightswidget.ui

+6
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,12 @@
149149
<verstretch>0</verstretch>
150150
</sizepolicy>
151151
</property>
152+
<property name="minimumSize">
153+
<size>
154+
<width>120</width>
155+
<height>0</height>
156+
</size>
157+
</property>
152158
</widget>
153159
</item>
154160
<item row="4" column="0">

0 commit comments

Comments
 (0)