mod: update README and remove alignment options
This commit is contained in:
@@ -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