次の単純なレイアウトは、サイズ変更後に垂直方向に拡張されず、垂直方向にのみ拡張されます。hug_width
私はすでに、hug_height
およびパートナーと遊んで成功していません。私も制約を使ってみましたhbox
私は何が欠けていますか?
from enaml.widgets.api import MPLCanvas, MainWindow, HGroup, VGroup, CheckBox
enamldef PumpProbeViewer(MainWindow):
HGroup:
align_widths = False
MPLCanvas: plot_wid:
figure = Figure()
VGroup: control:
CheckBox:
text = "Show current"
CheckBox:
text = "Show mean"
CheckBox:
text = "Show first detector"