我的观点定义如下
DefaultView = View(
HSplit(
Item("figure", editor=MPLFigureEditor(toolbar=True),
show_label=False),
VGroup(
Item("draw_button", show_label=False)),
show_labels=False
),
width=800, height=600, title="Facial Triangles", resizable=True)
我查阅了HSplit的官方文档,发现没有任何属性或方法来指定初始分割比率。你知道吗
是否有一种方法来指定初始分割比率?你知道吗
从this discussion,我得到了方法:通过指定
width
或height
属性的Item
。例如,我的上述视图已更新:相关问题 更多 >
编程相关推荐