Open dokempf opened 2 years ago
The min_width
field of ipywidgets.Layout
can be set to a smaller number to prevent this. It might be necessary in many places though to completely prevent scrollbars.
Another observation: Often wrapping ipwidgets.VBox
creates the problem in the first place.
We are fitting widgets into layout containers a lot by specifying
width='100%'
to make them fit exactly. However, many of these still produce a horizontal scrollbar. I consider this a bug ofipywidgets
which should be researched and potentially reported upstream.