Skip to content

Commit

Permalink
match original formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
keenanlang committed Jul 24, 2024
1 parent e0a67b0 commit ff0c092
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
7 changes: 6 additions & 1 deletion templates/labjack/collections.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,15 @@ AIn_Line: &AIn_Slot
- !TextMonitor
geometry: 30x0 x 90x20
pv: "$(P)Ai{__index__}"
alignment: Right
foreground: *header_blue
background: *transparent
font: -Monospace -regular -12

- !Menu
<<: *editable
geometry: 140x1 x 90x18
font: -Sans Serif -regular -5
pv: "$(P)Ai{__index__}.SCAN"

- !MessageButton
Expand Down Expand Up @@ -115,6 +117,7 @@ AOut_Line: &AOut_Slot
- !TextMonitor
<<: *editable
geometry: 30x0 x 90x20
alignment: Right
pv: "$(P)Ao{__index__}"
font: -Monospace -regular -9

Expand Down Expand Up @@ -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"
10 changes: 7 additions & 3 deletions templates/labjack/layout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand All @@ -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"

Expand Down Expand Up @@ -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
Expand All @@ -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"
Expand All @@ -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"
Expand Down

0 comments on commit ff0c092

Please sign in to comment.