jupyter-widgets / ipywidgets

Interactive Widgets for the Jupyter Notebook
https://ipywidgets.readthedocs.io
BSD 3-Clause "New" or "Revised" License
3.17k stars 949 forks source link

OutputWidget and Selection widget enhancements #3966

Open fleming79 opened 1 week ago

fleming79 commented 1 week ago

Output

This change adds a new class to subclass the SimplifiedOutputArea in place of the JupyterLuminoPanelWidget for the Output area. SimplifiedOutputArea was deliberately chosen instead of OutputArea.

Before

Internally the layout is applied to a widget that contains the OutputArea meaning the layout doesn't apply to the OutputArea as expected. Here we unsuccessfully invert the widgets.

image

After

Now the layout applies as expected to the OutputArea. Here the widgets are inverted as directed.

image

Select

The widget-select css class height is changed from inherit to 100% enabling the selection field to span vertically by default.

Before

image

After

image

github-actions[bot] commented 1 week ago

Binder :point_left: Launch a binder notebook on branch fleming79/ipywidgets/OutputWidget-enhancements