ctrl_panel: Stop crushing spinboxes

It might not be the case on some themes, but on the default Qt theme the
spinbox are a bit too short for the containing numbers. See
https://github.com/pyqtgraph/pyqtgraph/issues/701.
This commit is contained in:
atse 2024-06-28 11:21:21 +08:00
parent 86c68f0e64
commit 214ea68b2a

View File

@ -60,6 +60,7 @@
"suffix": "A",
"siPrefix": true,
"noUnitEditing": true,
"compactHeight": false,
"param": [
"pwm",
"ch",
@ -81,6 +82,7 @@
"format": "{value:.4f} {suffix}",
"suffix": "°C",
"noUnitEditing": true,
"compactHeight": false,
"param": [
"pid",
"ch",
@ -113,6 +115,7 @@
"pinSiPrefix": "m",
"suffix": "A",
"noUnitEditing": true,
"compactHeight": false,
"param": [
"pwm",
"ch",
@ -136,6 +139,7 @@
0,
2
],
"compactHeight": false,
"param": [
"pwm",
"ch",
@ -157,6 +161,7 @@
"siPrefix": true,
"suffix": "V",
"noUnitEditing": true,
"compactHeight": false,
"param": [
"pwm",
"ch",
@ -189,6 +194,7 @@
"format": "{value:.4f} {suffix}",
"suffix": "°C",
"noUnitEditing": true,
"compactHeight": false,
"param": [
"s-h",
"ch",
@ -207,6 +213,7 @@
"pinSiPrefix": "k",
"suffix": "Ω",
"noUnitEditing": true,
"compactHeight": false,
"param": [
"s-h",
"ch",
@ -224,6 +231,7 @@
"suffix": "K",
"noUnitEditing": true,
"decimals": 4,
"compactHeight": false,
"param": [
"s-h",
"ch",
@ -267,6 +275,7 @@
"type": "float",
"step": 0.1,
"suffix": "",
"compactHeight": false,
"param": [
"pid",
"ch",
@ -282,6 +291,7 @@
"step": 0.1,
"suffix": "Hz",
"noUnitEditing": true,
"compactHeight": false,
"param": [
"pid",
"ch",
@ -297,6 +307,7 @@
"step": 0.1,
"suffix": "s",
"noUnitEditing": true,
"compactHeight": false,
"param": [
"pid",
"ch",
@ -326,6 +337,7 @@
"pinSiPrefix": "m",
"suffix": "A",
"noUnitEditing": true,
"compactHeight": false,
"param": [
"pid",
"ch",
@ -348,6 +360,7 @@
"pinSiPrefix": "m",
"suffix": "A",
"noUnitEditing": true,
"compactHeight": false,
"param": [
"pid",
"ch",
@ -374,6 +387,7 @@
"format": "{value:.4f} {suffix}",
"suffix": "°C",
"noUnitEditing": true,
"compactHeight": false,
"pid_autotune": [
"target_temp",
"ch"
@ -395,6 +409,7 @@
"pinSiPrefix": "m",
"suffix": "A",
"noUnitEditing": true,
"compactHeight": false,
"pid_autotune": [
"test_current",
"ch"
@ -411,6 +426,7 @@
"format": "{value:.4f} {suffix}",
"suffix": "°C",
"noUnitEditing": true,
"compactHeight": false,
"pid_autotune": [
"temp_swing",
"ch"
@ -426,6 +442,7 @@
"format": "{value:.4f} {suffix}",
"noUnitEditing": true,
"suffix": "s",
"compactHeight": false,
"pid_autotune": [
"lookback",
"ch"