Use more space

This commit is contained in:
2023-05-22 08:31:57 +02:00
parent 3e6bbe5e47
commit 6e0fd1a3cf
9 changed files with 331 additions and 292 deletions

View File

@ -245,82 +245,88 @@
"CanvasBufferSize": 7200,
"Components": [
{
"Type": "LineProgress",
"Name": "tsSoC",
"X": 15,
"Y": 155,
"Width": 40,
"Height": 150,
"Color": {
"Red": 136,
"Green": 255
},
"StartX": 9.0,
"StartY": 150.0,
"EndX": 9.0,
"LineWidth": 100.0,
"LineEndingStyle": "Butt",
"FileNameBackground": "bat_bar_bg.png",
"ProgressRangeMax": 100,
"ProgressInitialValue": 60
},
{
"Type": "LineProgress",
"Name": "lvSoC",
"X": 110,
"Y": 155,
"Width": 40,
"Height": 150,
"Color": {
"Red": 136,
"Green": 255
},
"StartX": 9.0,
"StartY": 150.0,
"EndX": 9.0,
"LineWidth": 100.0,
"LineEndingStyle": "Butt",
"FileNameBackground": "bat_bar_bg.png",
"ProgressRangeMax": 100,
"ProgressInitialValue": 80
},
{
"Type": "TextArea",
"Name": "tsSoCLabel",
"X": 15,
"Y": 130,
"Width": 40,
"Height": 25,
"TextId": "__SingleUse_PHFD",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
},
{
"Type": "TextArea",
"Name": "lvSoCLabel",
"X": 110,
"Y": 130,
"Width": 40,
"Height": 25,
"TextId": "__SingleUse_4OBM",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
"Type": "Container",
"Name": "SoC",
"X": 12,
"Y": 125,
"Width": 152,
"Height": 180,
"Components": [
{
"Type": "LineProgress",
"Name": "tsSoC",
"Y": 25,
"Width": 40,
"Height": 150,
"Color": {
"Red": 136,
"Green": 255
},
"StartX": 9.0,
"StartY": 150.0,
"EndX": 9.0,
"LineWidth": 100.0,
"LineEndingStyle": "Butt",
"FileNameBackground": "bat_bar_bg.png",
"ProgressRangeMax": 100,
"ProgressInitialValue": 60
},
{
"Type": "LineProgress",
"Name": "lvSoC",
"X": 95,
"Y": 25,
"Width": 40,
"Height": 150,
"Color": {
"Red": 136,
"Green": 255
},
"StartX": 9.0,
"StartY": 150.0,
"EndX": 9.0,
"LineWidth": 100.0,
"LineEndingStyle": "Butt",
"FileNameBackground": "bat_bar_bg.png",
"ProgressRangeMax": 100,
"ProgressInitialValue": 80
},
{
"Type": "TextArea",
"Name": "tsSoCLabel",
"Width": 40,
"Height": 25,
"TextId": "__SingleUse_PHFD",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
},
{
"Type": "TextArea",
"Name": "lvSoCLabel",
"X": 95,
"Width": 40,
"Height": 25,
"TextId": "__SingleUse_4OBM",
"TextRotation": "0",
"Color": {
"Red": 255,
"Green": 255,
"Blue": 255
}
}
]
},
{
"Type": "Container",
"Name": "drivetrainTemps",
"X": 315,
"Y": 130,
"Width": 150,
"Height": 175,
"X": 316,
"Y": 125,
"Width": 152,
"Height": 180,
"Components": [
{
"Type": "TextArea",
@ -422,9 +428,9 @@
{
"Type": "Container",
"Name": "brakeTemps",
"X": 165,
"Y": 130,
"Width": 150,
"X": 164,
"Y": 125,
"Width": 152,
"Height": 150,
"Components": [
{
@ -513,16 +519,16 @@
{
"Type": "Container",
"Name": "dataFields",
"X": 15,
"Y": 48,
"Width": 450,
"X": 12,
"Y": 43,
"Width": 456,
"Height": 257,
"Components": [
{
"Type": "ScrollWheel",
"Name": "fieldTypeSelection",
"Y": 80,
"Width": 150,
"Width": 152,
"Height": 177,
"Visible": false,
"SelectedItemOffset": 94,
@ -537,23 +543,23 @@
{
"Type": "CustomContainerInstance",
"Name": "field3",
"X": 300,
"Width": 150,
"X": 304,
"Width": 152,
"Height": 80,
"CustomContainerDefinitionName": "DriverViewField"
},
{
"Type": "CustomContainerInstance",
"Name": "field2",
"X": 150,
"Width": 150,
"X": 152,
"Width": 152,
"Height": 80,
"CustomContainerDefinitionName": "DriverViewField"
},
{
"Type": "CustomContainerInstance",
"Name": "field1",
"Width": 150,
"Width": 152,
"Height": 80,
"CustomContainerDefinitionName": "DriverViewField"
}
@ -562,9 +568,9 @@
{
"Type": "Container",
"Name": "statusBar",
"X": 15,
"Y": 15,
"Width": 450,
"X": 12,
"Y": 10,
"Width": 456,
"Height": 33,
"Components": [
{
@ -626,7 +632,7 @@
{
"Type": "BoxProgress",
"Name": "progressBar",
"Width": 450,
"Width": 456,
"Height": 33,
"Visible": false,
"Color": {
@ -642,7 +648,7 @@
{
"Type": "TextArea",
"Name": "prechargeLabel",
"X": 90,
"X": 95,
"Y": -2,
"Width": 269,
"Height": 37,
@ -659,7 +665,7 @@
{
"Type": "TextArea",
"Name": "r2dLabel",
"X": 67,
"X": 70,
"Y": -2,
"Width": 317,
"Height": 37,
@ -675,7 +681,7 @@
{
"Type": "TextArea",
"Name": "r2dProgressLabel",
"X": 165,
"X": 168,
"Y": -2,
"Width": 219,
"Height": 37,
@ -694,9 +700,9 @@
{
"Type": "CustomContainerInstance",
"Name": "errorPopup",
"X": 15,
"Y": 155,
"Width": 450,
"X": 12,
"Y": 150,
"Width": 456,
"Height": 150,
"Visible": false,
"CustomContainerDefinitionName": "ErrorPopup"
@ -1022,13 +1028,13 @@
"Name": "DriverViewField",
"X": 80,
"Y": 215,
"Width": 150,
"Width": 152,
"Height": 80,
"Components": [
{
"Type": "BoxWithBorder",
"Name": "box",
"Width": 150,
"Width": 152,
"Height": 80,
"BorderColor": {
"Red": 255,
@ -1040,7 +1046,7 @@
{
"Type": "TextArea",
"Name": "title",
"Width": 150,
"Width": 152,
"Height": 25,
"TextId": "DriverViewField_Title",
"TextRotation": "0",
@ -1055,7 +1061,7 @@
"Type": "TextArea",
"Name": "value",
"Y": 20,
"Width": 150,
"Width": 152,
"Height": 57,
"TextId": "NumberWildcard",
"TextRotation": "0",
@ -1073,13 +1079,13 @@
"Name": "DriverViewFieldSelection",
"X": 100,
"Y": 227,
"Width": 150,
"Width": 152,
"Height": 26,
"Components": [
{
"Type": "Box",
"Name": "bg",
"Width": 150,
"Width": 152,
"Height": 25,
"Color": {
"Red": 34,
@ -1090,7 +1096,7 @@
{
"Type": "TextArea",
"Name": "name",
"Width": 150,
"Width": 152,
"Height": 25,
"TextId": "DriverViewField_Title",
"TextRotation": "0",
@ -1105,7 +1111,7 @@
"Type": "Line",
"Name": "line1",
"Y": 25,
"Width": 150,
"Width": 152,
"Height": 1,
"Color": {
"Red": 255,
@ -1133,7 +1139,7 @@
{
"Type": "Line",
"Name": "line2_1",
"X": 149,
"X": 151,
"Width": 1,
"Height": 26,
"Color": {
@ -1330,13 +1336,13 @@
"Name": "ErrorPopup",
"X": -80,
"Y": 165,
"Width": 450,
"Width": 456,
"Height": 150,
"Components": [
{
"Type": "BoxWithBorder",
"Name": "bg",
"Width": 450,
"Width": 456,
"Height": 150,
"Color": {
"Red": 197,
@ -1353,7 +1359,7 @@
{
"Type": "TextArea",
"Name": "title",
"Width": 450,
"Width": 456,
"Height": 49,
"TextId": "__SingleUse_1NKF",
"TextRotation": "0",
@ -1366,9 +1372,9 @@
{
"Type": "TextArea",
"Name": "details",
"X": 15,
"X": 17,
"Y": 60,
"Width": 420,
"Width": 426,
"Height": 75,
"TextId": "__SingleUse_9L8R",
"TextRotation": "0",