mod: update README and remove alignment options

This commit is contained in:
2025-02-14 22:27:24 +01:00
parent abaea968a6
commit 01d121ef87
2 changed files with 31 additions and 31 deletions

View File

@@ -227,12 +227,6 @@ pub const Layout = packed struct {
} = .{},
/// Padding used in between child elements as gaps when laid out
gap: u16 = 0,
// TODO: is there a way to make x / y type copied by the compiler at comptime instead? such that this only has to be defined once?
/// Alignment of where the child elements are positioned relative to the parent container when laid out
alignment: packed struct {
x: enum(u2) { center, left, right } = .center,
y: enum(u2) { center, left, right } = .center,
} = .{},
};
pub fn Container(comptime Event: type) type {