ctrl_panel: Stop crushing spinboxes

It might not be the case on some themes, but on the default Qt theme the
spinbox blocks the containing numbers a bit. See
https://github.com/pyqtgraph/pyqtgraph/issues/701.
This commit is contained in:
atse 2024-06-28 11:21:21 +08:00
parent 9830ee8636
commit 0114de970a

View File

@ -55,6 +55,7 @@
],
"triggerOnShow":true,
"decimals":6,
"compactHeight":false,
"param":[
"pwm",
"ch",
@ -74,6 +75,7 @@
300
],
"format":"{value:.4f}",
"compactHeight":false,
"param":[
"pid",
"ch",
@ -97,6 +99,7 @@
"value":0,
"step":100,
"decimals":6,
"compactHeight":false,
"limits":[
0,
2000
@ -116,6 +119,7 @@
"value":0,
"step":100,
"decimals":6,
"compactHeight":false,
"limits":[
0,
2000
@ -139,6 +143,7 @@
5
],
"siPrefix":true,
"compactHeight":false,
"param":[
"pwm",
"ch",
@ -169,6 +174,7 @@
100
],
"format":"{value:.4f}",
"compactHeight":false,
"param":[
"s-h",
"ch",
@ -184,6 +190,7 @@
"value":10000,
"step":1,
"siPrefix":true,
"compactHeight":false,
"param":[
"s-h",
"ch",
@ -199,6 +206,7 @@
"value":3950,
"step":1,
"decimals":4,
"compactHeight":false,
"param":[
"s-h",
"ch",
@ -242,6 +250,7 @@
"type":"float",
"step":0.1,
"suffix":"",
"compactHeight":false,
"param":[
"pid",
"ch",
@ -256,6 +265,7 @@
"type":"float",
"step":0.1,
"suffix":"Hz",
"compactHeight":false,
"param":[
"pid",
"ch",
@ -270,6 +280,7 @@
"type":"float",
"step":0.1,
"suffix":"s",
"compactHeight":false,
"param":[
"pid",
"ch",
@ -295,6 +306,7 @@
2000
],
"decimals":6,
"compactHeight":false,
"param":[
"pid",
"ch",
@ -313,6 +325,7 @@
2000
],
"decimals":6,
"compactHeight":false,
"param":[
"pid",
"ch",
@ -337,6 +350,7 @@
"value":20,
"step":0.1,
"format":"{value:.4f}",
"compactHeight":false,
"pid_autotune":[
"target_temp",
"ch"
@ -349,6 +363,7 @@
"type":"float",
"value":0,
"decimals":6,
"compactHeight":false,
"step":100,
"limits":[
-2000,
@ -368,6 +383,7 @@
"step":0.1,
"prefix":"±",
"format":"{value:.4f}",
"compactHeight":false,
"pid_autotune":[
"temp_swing",
"ch"
@ -381,6 +397,7 @@
"value":3.0,
"step":0.1,
"format":"{value:.4f}",
"compactHeight":false,
"pid_autotune":[
"lookback",
"ch"