rem(container): sizing options

This enables the `Layout` struct to be packed (as well as the
`Properties` struct) which should further reduce the memory footprint.
This commit is contained in:
2025-02-14 22:19:20 +01:00
parent 73a7f740c9
commit abaea968a6
2 changed files with 7 additions and 56 deletions

View File

@@ -41,10 +41,6 @@ pub fn main() !void {
.gap = 1,
.direction = .horizontal,
.padding = .vertical(1),
.sizing = .{
// .width = .{ .fixed = 700 },
// .height = .{ .fixed = 180 },
},
},
});
try box.append(try App.Container.init(allocator, .{