By default each of these elements either stretches to the width of its parent or the width can be explicitly specified through the width prop. The problem is when the parent has no defined width, in our case when placed inside ui.inline.
This PR sets the default width for each of these components in case parent width is not defined.
The width of the following components was affected when used with
ui.inline
:ui.dropdown
ui.date_picker
ui.plot
ui.vega
ui.table
ui.slider
ui.range slider
ui.toggle
https://github.com/h2oai/wave/assets/23740173/ba5974db-7be4-4c36-8639-54033e12b1d6
By default each of these elements either stretches to the width of its parent or the width can be explicitly specified through the
width
prop. The problem is when the parent has no defined width, in our case when placed insideui.inline
.This PR sets the default width for each of these components in case parent width is not defined.
https://github.com/h2oai/wave/assets/23740173/b8b6cdb9-aaba-404b-a7ec-2f491655d7a5
I also include the example used in recordings:
Closes #1974