mod: update README and remove alignment options
This commit is contained in:
1 parent
abaea968a6
commit
01d121ef87
2 files changed
+31
-31
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user