-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Add the ui.dashboard spec #110
Conversation
mofojed
commented
Nov 8, 2023
- Also added ui.row, ui.column, ui.stack
- Also added ui.row, ui.column, ui.stack
| Parameter | Type | Description | | ||
| ----------- | --------- | ------------------------------------------------------------------------------------------------------------------------------------- | | ||
| `*children` | `Element` | The components to render within the row. | | ||
| `height` | `int` | The height of the row, relative to the other children of its parent in percent. If not provided, the row will be sized automatically. | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this relative or is it out of 100%?
Like I can't put 200 in there can I ? I guess we could normalize first if GL expects 0-100?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea it's a percent, but there are rules of the total is bigger or less than 100 as well:
https://github.com/deephaven/web-client-ui/blob/561ff22714a8b39cc55b41549712b5ef23bd39cf/packages/golden-layout/src/items/RowOrColumn.ts#L296
Not sure how to concisely explain this.
Co-authored-by: Don <[email protected]>
- Addressed review comments