horizontal alignment of options in ipywidgets

自古美人都是妖i 提交于 2021-01-29 21:37:22

问题


How to align items horizontally in multi-select menu?

Currently this gives me a vertical alignment of options:

widgets.SelectMultiple(options=['option-1','option-2', 'option-3', 'option-4', 'option-5'],
                            rows=5, layout=widgets.Layout(width='440px'))

I am looking for a way to align all the options in a single row.

来源:https://stackoverflow.com/questions/58235440/horizontal-alignment-of-options-in-ipywidgets

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!