Changed the UI proc to be like the one in the Odin bindings

This commit is contained in:
Stowy 2025-01-01 16:19:52 +01:00
parent 409bf1c3bf
commit e9522005db
5 changed files with 61 additions and 52 deletions

View file

@ -80,10 +80,7 @@ main :: () {
Clay.ID("OuterContainer"),
Clay.Layout(.{
layoutDirection = .TOP_TO_BOTTOM,
sizing = Clay.Sizing.{
Clay.SizingGrow(),
Clay.SizingGrow(),
},
sizing = layout_expand,
padding = .{16, 16},
childGap = 16,
}),