I am creating an ipywidget
button with some text. But the full text is not shown in the button:
The code I have used is as follows:
import ipywidgets as widgets
from IPython.display import display
button = widgets.Button(
description='Test button with some text.',
disabled=False,
display='flex',
flex_flow='column',
align_items='stretch'
)
display(button)
What options to use so the full text is shown in the button (i.e. to make the button width increase so the full text is shown)?