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:
parent
4bda62ab41
commit
ac10859f70
@ -56,6 +56,7 @@
|
|||||||
"suffix": "A",
|
"suffix": "A",
|
||||||
"siPrefix": true,
|
"siPrefix": true,
|
||||||
"noUnitEditing": true,
|
"noUnitEditing": true,
|
||||||
|
"compactHeight": false,
|
||||||
"thermostat:set_param": {
|
"thermostat:set_param": {
|
||||||
"topic": "pwm",
|
"topic": "pwm",
|
||||||
"field": "i_set"
|
"field": "i_set"
|
||||||
@ -76,6 +77,7 @@
|
|||||||
"format": "{value:.4f} {suffix}",
|
"format": "{value:.4f} {suffix}",
|
||||||
"suffix": "°C",
|
"suffix": "°C",
|
||||||
"noUnitEditing": true,
|
"noUnitEditing": true,
|
||||||
|
"compactHeight": false,
|
||||||
"thermostat:set_param": {
|
"thermostat:set_param": {
|
||||||
"topic": "pid",
|
"topic": "pid",
|
||||||
"field": "target"
|
"field": "target"
|
||||||
@ -107,6 +109,7 @@
|
|||||||
"pinSiPrefix": "m",
|
"pinSiPrefix": "m",
|
||||||
"suffix": "A",
|
"suffix": "A",
|
||||||
"noUnitEditing": true,
|
"noUnitEditing": true,
|
||||||
|
"compactHeight": false,
|
||||||
"thermostat:set_param": {
|
"thermostat:set_param": {
|
||||||
"topic": "pwm",
|
"topic": "pwm",
|
||||||
"field": "max_i_pos"
|
"field": "max_i_pos"
|
||||||
@ -129,6 +132,7 @@
|
|||||||
0,
|
0,
|
||||||
2
|
2
|
||||||
],
|
],
|
||||||
|
"compactHeight": false,
|
||||||
"thermostat:set_param": {
|
"thermostat:set_param": {
|
||||||
"topic": "pwm",
|
"topic": "pwm",
|
||||||
"field": "max_i_neg"
|
"field": "max_i_neg"
|
||||||
@ -149,6 +153,7 @@
|
|||||||
"siPrefix": true,
|
"siPrefix": true,
|
||||||
"suffix": "V",
|
"suffix": "V",
|
||||||
"noUnitEditing": true,
|
"noUnitEditing": true,
|
||||||
|
"compactHeight": false,
|
||||||
"thermostat:set_param": {
|
"thermostat:set_param": {
|
||||||
"topic": "pwm",
|
"topic": "pwm",
|
||||||
"field": "max_v"
|
"field": "max_v"
|
||||||
@ -180,6 +185,7 @@
|
|||||||
"format": "{value:.4f} {suffix}",
|
"format": "{value:.4f} {suffix}",
|
||||||
"suffix": "°C",
|
"suffix": "°C",
|
||||||
"noUnitEditing": true,
|
"noUnitEditing": true,
|
||||||
|
"compactHeight": false,
|
||||||
"thermostat:set_param": {
|
"thermostat:set_param": {
|
||||||
"topic": "s-h",
|
"topic": "s-h",
|
||||||
"field": "t0"
|
"field": "t0"
|
||||||
@ -197,6 +203,7 @@
|
|||||||
"pinSiPrefix": "k",
|
"pinSiPrefix": "k",
|
||||||
"suffix": "Ω",
|
"suffix": "Ω",
|
||||||
"noUnitEditing": true,
|
"noUnitEditing": true,
|
||||||
|
"compactHeight": false,
|
||||||
"thermostat:set_param": {
|
"thermostat:set_param": {
|
||||||
"topic": "s-h",
|
"topic": "s-h",
|
||||||
"field": "r0"
|
"field": "r0"
|
||||||
@ -213,6 +220,7 @@
|
|||||||
"suffix": "K",
|
"suffix": "K",
|
||||||
"noUnitEditing": true,
|
"noUnitEditing": true,
|
||||||
"decimals": 4,
|
"decimals": 4,
|
||||||
|
"compactHeight": false,
|
||||||
"thermostat:set_param": {
|
"thermostat:set_param": {
|
||||||
"topic": "s-h",
|
"topic": "s-h",
|
||||||
"field": "b"
|
"field": "b"
|
||||||
@ -254,6 +262,7 @@
|
|||||||
"type": "float",
|
"type": "float",
|
||||||
"step": 0.1,
|
"step": 0.1,
|
||||||
"suffix": "",
|
"suffix": "",
|
||||||
|
"compactHeight": false,
|
||||||
"thermostat:set_param": {
|
"thermostat:set_param": {
|
||||||
"topic": "pid",
|
"topic": "pid",
|
||||||
"field": "kp"
|
"field": "kp"
|
||||||
@ -268,6 +277,7 @@
|
|||||||
"step": 0.1,
|
"step": 0.1,
|
||||||
"suffix": "Hz",
|
"suffix": "Hz",
|
||||||
"noUnitEditing": true,
|
"noUnitEditing": true,
|
||||||
|
"compactHeight": false,
|
||||||
"thermostat:set_param": {
|
"thermostat:set_param": {
|
||||||
"topic": "pid",
|
"topic": "pid",
|
||||||
"field": "ki"
|
"field": "ki"
|
||||||
@ -282,6 +292,7 @@
|
|||||||
"step": 0.1,
|
"step": 0.1,
|
||||||
"suffix": "s",
|
"suffix": "s",
|
||||||
"noUnitEditing": true,
|
"noUnitEditing": true,
|
||||||
|
"compactHeight": false,
|
||||||
"thermostat:set_param": {
|
"thermostat:set_param": {
|
||||||
"topic": "pid",
|
"topic": "pid",
|
||||||
"field": "kd"
|
"field": "kd"
|
||||||
@ -310,6 +321,7 @@
|
|||||||
"pinSiPrefix": "m",
|
"pinSiPrefix": "m",
|
||||||
"suffix": "A",
|
"suffix": "A",
|
||||||
"noUnitEditing": true,
|
"noUnitEditing": true,
|
||||||
|
"compactHeight": false,
|
||||||
"thermostat:set_param": {
|
"thermostat:set_param": {
|
||||||
"topic": "pid",
|
"topic": "pid",
|
||||||
"field": "output_min"
|
"field": "output_min"
|
||||||
@ -331,6 +343,7 @@
|
|||||||
"pinSiPrefix": "m",
|
"pinSiPrefix": "m",
|
||||||
"suffix": "A",
|
"suffix": "A",
|
||||||
"noUnitEditing": true,
|
"noUnitEditing": true,
|
||||||
|
"compactHeight": false,
|
||||||
"thermostat:set_param": {
|
"thermostat:set_param": {
|
||||||
"topic": "pid",
|
"topic": "pid",
|
||||||
"field": "output_max"
|
"field": "output_max"
|
||||||
@ -356,6 +369,7 @@
|
|||||||
"format": "{value:.4f} {suffix}",
|
"format": "{value:.4f} {suffix}",
|
||||||
"suffix": "°C",
|
"suffix": "°C",
|
||||||
"noUnitEditing": true,
|
"noUnitEditing": true,
|
||||||
|
"compactHeight": false,
|
||||||
"pid_autotune": "target_temp",
|
"pid_autotune": "target_temp",
|
||||||
"tip": "The target temperature to autotune for"
|
"tip": "The target temperature to autotune for"
|
||||||
},
|
},
|
||||||
@ -374,6 +388,7 @@
|
|||||||
"pinSiPrefix": "m",
|
"pinSiPrefix": "m",
|
||||||
"suffix": "A",
|
"suffix": "A",
|
||||||
"noUnitEditing": true,
|
"noUnitEditing": true,
|
||||||
|
"compactHeight": false,
|
||||||
"pid_autotune": "test_current",
|
"pid_autotune": "test_current",
|
||||||
"tip": "The testing current when autotuning"
|
"tip": "The testing current when autotuning"
|
||||||
},
|
},
|
||||||
@ -387,6 +402,7 @@
|
|||||||
"format": "{value:.4f} {suffix}",
|
"format": "{value:.4f} {suffix}",
|
||||||
"suffix": "°C",
|
"suffix": "°C",
|
||||||
"noUnitEditing": true,
|
"noUnitEditing": true,
|
||||||
|
"compactHeight": false,
|
||||||
"pid_autotune": "temp_swing",
|
"pid_autotune": "temp_swing",
|
||||||
"tip": "The temperature swing around the target"
|
"tip": "The temperature swing around the target"
|
||||||
},
|
},
|
||||||
@ -399,6 +415,7 @@
|
|||||||
"format": "{value:.4f} {suffix}",
|
"format": "{value:.4f} {suffix}",
|
||||||
"noUnitEditing": true,
|
"noUnitEditing": true,
|
||||||
"suffix": "s",
|
"suffix": "s",
|
||||||
|
"compactHeight": false,
|
||||||
"pid_autotune": "lookback",
|
"pid_autotune": "lookback",
|
||||||
"tip": "Amount of time referenced for tuning"
|
"tip": "Amount of time referenced for tuning"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user