Skip to content

Commit

Permalink
schema: add support for "auto" split value (#4249)
Browse files Browse the repository at this point in the history
  • Loading branch information
mkitzan authored and DHowett committed Jan 15, 2020
1 parent 1f7578f commit 23d1bcb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions doc/cascadia/profiles.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@
"SplitState": {
"enum": [
"vertical",
"horizontal"
"horizontal",
"auto"
],
"type": "string"
},
Expand Down Expand Up @@ -214,8 +215,8 @@
"action": { "type": "string", "pattern": "splitPane" },
"split": {
"$ref": "#/definitions/SplitState",
"default": "vertical",
"description": "The orientation to split the pane in, either vertical (think [|]) or horizontal (think [-])"
"default": "auto",
"description": "The orientation to split the pane in, either vertical (think [|]), horizontal (think [-]), or auto (splits pane based on remaining space)"
}
}
}
Expand Down

0 comments on commit 23d1bcb

Please sign in to comment.