Path: blob/main/src/resources/schema/cell-layout.yml
12925 views
- name: layout1schema:2anyOf:3- string4- arrayOf:5arrayOf: number6description:7short: "2d-array of widths where the first dimension specifies columns and the second rows."8long: |92d-array of widths where the first dimension specifies columns and the second rows.1011For example, to layout the first two output blocks side-by-side on the top with the third12block spanning the full width below, use `[[3,3], [1]]`.1314Use negative values to create margin. For example, to create space between the15output blocks in the top row of the previous example, use `[[3,-1, 3], [1]]`.1617- name: layout-ncol18schema: number19description: Layout output blocks into columns2021- name: layout-nrow22schema: number23description: Layout output blocks into rows2425- name: layout-align26schema:27enum: [default, left, center, right]28default: center29description: Horizontal alignment for layout content (`default`, `left`, `right`, or `center`)3031- name: layout-valign32schema:33enum: [default, top, center, bottom]34default: top35description: Vertical alignment for layout content (`default`, `top`, `center`, or `bottom`)363738