Skip to content

Commit 7a39251

Browse files
committed
fix widget heights
1 parent c34f641 commit 7a39251

File tree

2 files changed

+25
-27
lines changed

2 files changed

+25
-27
lines changed

CMakeLists.txt

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,11 @@ if(EXISTS "${CMAKE_SOURCE_DIR}/libs/libbacktrace/configure")
8282
"Autoconf failed with exit code ${AUTOCONF_RESULT}"
8383
)
8484
endif()
85-
if(UBUNTU)
86-
execute_process(
87-
COMMAND bash -c
88-
"sed -i 's|^SHELL = /bin/sh$|SHELL = /bin/bash|' Makefile"
89-
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/libs/libbacktrace"
90-
)
91-
endif()
85+
execute_process(
86+
COMMAND bash -c
87+
"sed -i 's|^SHELL = /bin/sh$|SHELL = /bin/bash|' Makefile"
88+
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/libs/libbacktrace"
89+
)
9290
endif()
9391
execute_process(
9492
COMMAND make

src/TombRaiderLinuxLauncher.ui

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
<property name="maximumSize">
250250
<size>
251251
<width>65</width>
252-
<height>16777215</height>
252+
<height>1024</height>
253253
</size>
254254
</property>
255255
<item>
@@ -331,7 +331,7 @@
331331
<property name="maximumSize">
332332
<size>
333333
<width>150</width>
334-
<height>16777215</height>
334+
<height>1024</height>
335335
</size>
336336
</property>
337337
<item>
@@ -568,7 +568,7 @@
568568
<property name="maximumSize">
569569
<size>
570570
<width>150</width>
571-
<height>16777215</height>
571+
<height>1024</height>
572572
</size>
573573
</property>
574574
<item>
@@ -634,7 +634,7 @@
634634
<property name="maximumSize">
635635
<size>
636636
<width>100</width>
637-
<height>16777215</height>
637+
<height>1024</height>
638638
</size>
639639
</property>
640640
<item>
@@ -1731,7 +1731,7 @@
17311731
<property name="maximumSize">
17321732
<size>
17331733
<width>160</width>
1734-
<height>16777215</height>
1734+
<height>1024</height>
17351735
</size>
17361736
</property>
17371737
<property name="text">
@@ -1750,7 +1750,7 @@
17501750
<property name="maximumSize">
17511751
<size>
17521752
<width>160</width>
1753-
<height>16777215</height>
1753+
<height>1024</height>
17541754
</size>
17551755
</property>
17561756
<property name="text">
@@ -1971,7 +1971,7 @@
19711971
<property name="sizeHint" stdset="0">
19721972
<size>
19731973
<width>20</width>
1974-
<height>10000</height>
1974+
<height>10</height>
19751975
</size>
19761976
</property>
19771977
</spacer>
@@ -2003,7 +2003,7 @@
20032003
<property name="maximumSize">
20042004
<size>
20052005
<width>160</width>
2006-
<height>16777215</height>
2006+
<height>1024</height>
20072007
</size>
20082008
</property>
20092009
<property name="text">
@@ -2019,7 +2019,7 @@
20192019
<property name="maximumSize">
20202020
<size>
20212021
<width>160</width>
2022-
<height>16777215</height>
2022+
<height>1024</height>
20232023
</size>
20242024
</property>
20252025
<property name="text">
@@ -2075,8 +2075,8 @@
20752075
</property>
20762076
<property name="sizeHint" stdset="0">
20772077
<size>
2078-
<width>0</width>
2079-
<height>0</height>
2078+
<width>20</width>
2079+
<height>40</height>
20802080
</size>
20812081
</property>
20822082
</spacer>
@@ -2098,7 +2098,7 @@
20982098
<widget class="QWidget" name="gamePathContainer" native="true">
20992099
<property name="maximumSize">
21002100
<size>
2101-
<width>16777215</width>
2101+
<width>1024</width>
21022102
<height>42</height>
21032103
</size>
21042104
</property>
@@ -2134,7 +2134,7 @@
21342134
<widget class="QWidget" name="extraGamePathContainer" native="true">
21352135
<property name="maximumSize">
21362136
<size>
2137-
<width>16777215</width>
2137+
<width>1024</width>
21382138
<height>42</height>
21392139
</size>
21402140
</property>
@@ -2170,7 +2170,7 @@
21702170
<widget class="QWidget" name="levelPathContainer" native="true">
21712171
<property name="maximumSize">
21722172
<size>
2173-
<width>16777215</width>
2173+
<width>1024</width>
21742174
<height>42</height>
21752175
</size>
21762176
</property>
@@ -2187,7 +2187,7 @@
21872187
<property name="minimumSize">
21882188
<size>
21892189
<width>624</width>
2190-
<height>0</height>
2190+
<height>10</height>
21912191
</size>
21922192
</property>
21932193
</widget>
@@ -2216,8 +2216,8 @@ li.checked::marker { content: &quot;\2612&quot;; }
22162216
</property>
22172217
<property name="sizeHint" stdset="0">
22182218
<size>
2219-
<width>0</width>
2220-
<height>0</height>
2219+
<width>20</width>
2220+
<height>40</height>
22212221
</size>
22222222
</property>
22232223
</spacer>
@@ -2227,7 +2227,7 @@ li.checked::marker { content: &quot;\2612&quot;; }
22272227
<property name="maximumSize">
22282228
<size>
22292229
<width>242</width>
2230-
<height>16777215</height>
2230+
<height>1024</height>
22312231
</size>
22322232
</property>
22332233
<property name="text">
@@ -2248,8 +2248,8 @@ li.checked::marker { content: &quot;\2612&quot;; }
22482248
</property>
22492249
<property name="sizeHint" stdset="0">
22502250
<size>
2251-
<width>0</width>
2252-
<height>0</height>
2251+
<width>20</width>
2252+
<height>40</height>
22532253
</size>
22542254
</property>
22552255
</spacer>

0 commit comments

Comments
 (0)