From ff0c092bb36df6eca46e673973525dcc4a089a0f Mon Sep 17 00:00:00 2001 From: keenanlang Date: Wed, 24 Jul 2024 15:01:58 -0500 Subject: [PATCH] match original formatting --- templates/labjack/collections.yml | 7 ++++++- templates/labjack/layout.yml | 10 +++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/templates/labjack/collections.yml b/templates/labjack/collections.yml index edc7978..ea58e76 100644 --- a/templates/labjack/collections.yml +++ b/templates/labjack/collections.yml @@ -71,6 +71,7 @@ AIn_Line: &AIn_Slot - !TextMonitor geometry: 30x0 x 90x20 pv: "$(P)Ai{__index__}" + alignment: Right foreground: *header_blue background: *transparent font: -Monospace -regular -12 @@ -78,6 +79,7 @@ AIn_Line: &AIn_Slot - !Menu <<: *editable geometry: 140x1 x 90x18 + font: -Sans Serif -regular -5 pv: "$(P)Ai{__index__}.SCAN" - !MessageButton @@ -115,6 +117,7 @@ AOut_Line: &AOut_Slot - !TextMonitor <<: *editable geometry: 30x0 x 90x20 + alignment: Right pv: "$(P)Ao{__index__}" font: -Monospace -regular -9 @@ -190,5 +193,7 @@ IOGroupTemplate: !Template:io_group - !Text { geometry: 70x20, text: "{GROUP_NAME} 0-7" } - !TextMonitor <<: *editable - geometry: 75x0 x 80x20 + alignment: Right + format: "Hexadecimal" + geometry: 75x0 x 80x20 pv: "$(P){GROUP_NAME}In" diff --git a/templates/labjack/layout.yml b/templates/labjack/layout.yml index df05bdd..3033c83 100644 --- a/templates/labjack/layout.yml +++ b/templates/labjack/layout.yml @@ -56,6 +56,8 @@ IO: !hflow - !Text { geometry: 70x20, alignment: Right, text: "CIO 0-3" } - !TextMonitor <<: *editable + alignment: Right + format: "Hexadecimal" geometry: 80x20 pv: "$(P)CIOIn" @@ -64,6 +66,8 @@ IO: !hflow - !Text { geometry: 90x20, alignment: Right, text: "MIO 0-2" } - !TextMonitor geometry: 80x20 + alignment: Right + format: "Hexadecimal" <<: *editable pv: "$(P)MIOIn" @@ -186,7 +190,7 @@ Status: !hcenter:hflow padding: 10 children: - - !Text { geometry: 250x20, text: "Poll Sleep Time (ms)" } + - !Text { geometry: 250x20, text: "Poll Sleep Time (ms)", alignment: Right } - !TextEntry <<: *editable geometry: 100x20 @@ -197,7 +201,7 @@ Status: !hcenter:hflow padding: 10 children: - - !Text { geometry: 250x20, text: "Poll Cycle Time (ms)" } + - !Text { geometry: 250x20, text: "Poll Cycle Time (ms)", alignment: Right } - !TextMonitor <<: *FixedFeedback pv: "$(P)PollTimeMS" @@ -207,7 +211,7 @@ Status: !hcenter:hflow padding: 10 children: - - !Text { geometry: 250x20, text: "Reset Device on Exit" } + - !Text { geometry: 250x20, text: "Reset Device on Exit", alignment: Right } - !MessageButton geometry: 100x20 pv: "$(P)DeviceReset"