ssciwr / afwizard

Adaptive Filtering Wizard
https://afwizard.readthedocs.io
MIT License
4 stars 7 forks source link

Widgets with 100% width produce erroneous horizontal scroll bar #100

Open dokempf opened 2 years ago

dokempf commented 2 years ago

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 of ipywidgets which should be researched and potentially reported upstream.

dokempf commented 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.

dokempf commented 2 years ago

Another observation: Often wrapping ipwidgets.VBox creates the problem in the first place.