2016-10-06 2 views

답변

0

넣고이 체크 박스

from IPython.display import display, HTML 
HTML('<style> .widget-hbox .widget-label { max-width:350ex; text-align:left} </style>') 

와 셀이며 폭과 정렬을 변경할 수 있습니다.

0

또 다른 옵션은 Label으로 번들하는 것입니다

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

checkbox = widgets.Checkbox(value=False, disabled=False, layout=Layout(width='30px')) 
label = widgets.Label('description', layout=Layout(width='500px', margin='6px 0 0 -10px')) 
box = widgets.HBox([checkbox, label]) 
display(box) 
관련 문제