Skip to content

Commit

Permalink
Spelling fixes & schema update (#504)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Petrochuk (from Dev Box) <[email protected]>
  • Loading branch information
petrochuk and anpetroc authored Jan 14, 2024
1 parent 54df2e4 commit 31673f5
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 3 deletions.
2 changes: 0 additions & 2 deletions docs/ScreenExample.fx.yaml

This file was deleted.

33 changes: 33 additions & 0 deletions docs/SimpleScreen.fx.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Screen:
Name: Screen1
Fill: White
LoadingSpinnerColor: RGBA(56, 96, 178, 1)
Controls:
- Control: label
Name: Label1
Properties:
Color: RGBA(0, 0, 0, 1)
DisabledColor: RGBA(166, 166, 166, 1)
BorderColor: RGBA(0, 18, 107, 1)
X: 30
Y: 308
Width: 560
Height: 70
ZIndex: 2
Size: 21
- Control: button
Name: Button1
Properties:
DisabledBorderColor: RGBA(166, 166, 166, 1)
DisabledColor: RGBA(166, 166, 166, 1)
HoverColor: RGBA(255, 255, 255, 1)
Fill: RGBA(56, 96, 178, 1)
DisabledFill: RGBA(244, 244, 244, 1)
HoverFill: ColorFade(RGBA(56, 96, 178, 1), -20%)
FontWeight: FontWeight.Semibold
X: 170
Y: 464
Width: 280
Height: 70
ZIndex: 1
Size: 24
5 changes: 4 additions & 1 deletion docs/canvas-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,14 @@
"Name": {
"type": "string"
},
"controls": {
"Controls": {
"type": "array",
"items": {
"$ref": "#/$defs/ControlInfo"
}
},
"Properties": {
"type": "object"
}
}
}
Expand Down

0 comments on commit 31673f5

Please sign in to comment.