Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to fit the whole text beside checkbox in ipywidgets

from ipywidgets import widgets, Layout
from IPython.display import display

checkbox = widgets.Checkbox(value=False, disabled=False, layout=Layout(width='300px')) #just vary the Layout attribute according to your liking
box = widgets.HBox([checkbox, label])
display(box)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #fit #text #checkbox #ipywidgets
ADD COMMENT
Topic
Name
6+4 =