1

デフォルトでは、以下のコードは、各 GroupBox オブジェクトを垂直方向に (一方が他方の下に) レイアウトします。

enamldef Main(Window):
    attr model

    Container:
        constraints = [ hbox(items) ]

        Container: items:
            Looper:
                iterable << model.l              # model.l = some list of atom objects
                    GroupBox:
                        title << loop_item.name                
                        CheckBox:
                            checked := loop_item.active

代わりに、ルーパーで水平に (左から右に) 積み重ねられるように配置するにはどうすればよいですか?

enaml docs / API でこれに関する情報を見つけることができません。

4

1 に答える 1