Stop crushing spinbox in ctrl_panel

It might work on some themes, but on the default Qt theme the spinbox
are slim. See https://github.com/pyqtgraph/pyqtgraph/issues/701.
This commit is contained in:
atse 2024-06-28 11:21:21 +08:00
parent 2952df46ac
commit 50e88b9371

View File

@ -51,6 +51,7 @@
], ],
"triggerOnShow":true, "triggerOnShow":true,
"decimals":6, "decimals":6,
"compactHeight":false,
"param":[ "param":[
"pwm", "pwm",
"ch", "ch",
@ -69,6 +70,7 @@
300 300
], ],
"format":"{value:.4f}", "format":"{value:.4f}",
"compactHeight":false,
"param":[ "param":[
"pid", "pid",
"ch", "ch",
@ -91,6 +93,7 @@
"value":0, "value":0,
"step":100, "step":100,
"decimals":6, "decimals":6,
"compactHeight":false,
"limits":[ "limits":[
0, 0,
2000 2000
@ -109,6 +112,7 @@
"value":0, "value":0,
"step":100, "step":100,
"decimals":6, "decimals":6,
"compactHeight":false,
"limits":[ "limits":[
0, 0,
2000 2000
@ -131,6 +135,7 @@
5 5
], ],
"siPrefix":true, "siPrefix":true,
"compactHeight":false,
"param":[ "param":[
"pwm", "pwm",
"ch", "ch",
@ -160,6 +165,7 @@
100 100
], ],
"format":"{value:.4f}", "format":"{value:.4f}",
"compactHeight":false,
"param":[ "param":[
"s-h", "s-h",
"ch", "ch",
@ -175,6 +181,7 @@
"value":10000, "value":10000,
"step":1, "step":1,
"siPrefix":true, "siPrefix":true,
"compactHeight":false,
"param":[ "param":[
"s-h", "s-h",
"ch", "ch",
@ -190,6 +197,7 @@
"value":3950, "value":3950,
"step":1, "step":1,
"decimals":4, "decimals":4,
"compactHeight":false,
"param":[ "param":[
"s-h", "s-h",
"ch", "ch",
@ -230,6 +238,7 @@
"type":"float", "type":"float",
"step":0.1, "step":0.1,
"suffix":"", "suffix":"",
"compactHeight":false,
"param":[ "param":[
"pid", "pid",
"ch", "ch",
@ -243,6 +252,7 @@
"type":"float", "type":"float",
"step":0.1, "step":0.1,
"suffix":"Hz", "suffix":"Hz",
"compactHeight":false,
"param":[ "param":[
"pid", "pid",
"ch", "ch",
@ -256,6 +266,7 @@
"type":"float", "type":"float",
"step":0.1, "step":0.1,
"suffix":"s", "suffix":"s",
"compactHeight":false,
"param":[ "param":[
"pid", "pid",
"ch", "ch",
@ -279,6 +290,7 @@
2000 2000
], ],
"decimals":6, "decimals":6,
"compactHeight":false,
"param":[ "param":[
"pid", "pid",
"ch", "ch",
@ -296,6 +308,7 @@
2000 2000
], ],
"decimals":6, "decimals":6,
"compactHeight":false,
"param":[ "param":[
"pid", "pid",
"ch", "ch",
@ -318,6 +331,7 @@
"value":20, "value":20,
"step":0.1, "step":0.1,
"format":"{value:.4f}", "format":"{value:.4f}",
"compactHeight":false,
"pid_autotune":[ "pid_autotune":[
"target_temp", "target_temp",
"ch" "ch"
@ -329,6 +343,7 @@
"type":"float", "type":"float",
"value":0, "value":0,
"decimals":6, "decimals":6,
"compactHeight":false,
"step":100, "step":100,
"limits":[ "limits":[
-2000, -2000,
@ -347,6 +362,7 @@
"step":0.1, "step":0.1,
"prefix":"±", "prefix":"±",
"format":"{value:.4f}", "format":"{value:.4f}",
"compactHeight":false,
"pid_autotune":[ "pid_autotune":[
"temp_swing", "temp_swing",
"ch" "ch"
@ -359,6 +375,7 @@
"value":3.0, "value":3.0,
"step":0.1, "step":0.1,
"format":"{value:.4f}", "format":"{value:.4f}",
"compactHeight":false,
"pid_autotune":[ "pid_autotune":[
"lookback", "lookback",
"ch" "ch"