Environment: - Python: 3.6.1 - ipywidgets: 6.0.0
Hi, I'm working within a Box widget that contains Checkbox widgets. I can't seem to find the proper layout settings to get the widgets to horizontally align. This is what I'm working with: (*Note*: I do have to keep my display: 'block' setting in order to properly display my widgets vertically). <https://lh3.googleusercontent.com/-PERzGogjGoA/WVkhhgfI-CI/AAAAAAAAANE/xCrbIClp9DQdx1d_Z6wCjcdr0AYvru1nwCLcBGAs/s1600/img1.png> Code snippet: items = ['Item 1', 'Item 2 - long', 'Item 3 - longer', 'Item 4 - the longest'] checkbox_items = [Checkbox(description=name) for name in items] container_layout = Layout(overflow_y='auto', display='block', height='120px' ,border='1px solid black', width='200px') VBox(children=checkbox_items, layout=container_layout) There seems to be some attempt of formatting by default. The first 2 widgets within the display appear to be right aligned. However, things seem to fall off as we increase the text length. I don't know how to control this. thanks. -- You received this message because you are subscribed to the Google Groups "Project Jupyter" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/331c5222-68c1-4058-a97e-be60e79f5839%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
