Direction for ui.inline #1113
-
Hello, I've been using ui.inline to display components horizontally and also found the need to display components vertically. I understand that components can be shown vertically in ui.form_card but it would require me to specify the 'box' argument. It would be useful to have both vertical and horizontal options for inline so that variable-size row/column inline layouts could be constructed, similar to CSS flexboxes. Suggestions valid values for the new argument direction = [row, row-reverse, column, column-reverse] taken from https://developer.mozilla.org/en-US/docs/Web/CSS/flex-direction Comments/Feedback appreciated. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
For better control over layout, I would recommend switching to the flex layout system: https://wave.h2o.ai/docs/layout#flex-layout You'll then be able to compose layouts like this: https://github.com/h2oai/wave#responsive-layouts |
Beta Was this translation helpful? Give feedback.
For better control over layout, I would recommend switching to the flex layout system: https://wave.h2o.ai/docs/layout#flex-layout
You'll then be able to compose layouts like this: https://github.com/h2oai/wave#responsive-layouts
Examples: https://github.com/h2oai/wave/tree/master/py/demo