fix(container): rendering scrollable elements with separators
All checks were successful
Zig Project Action / Lint, Spell-check and test zig project (push) Successful in 23s

Added corresponding test cases to test the corresponding rendering of
scrollable elements.
This commit is contained in:
2025-02-27 17:02:16 +01:00
parent 53b69f034c
commit 3b6848f845
7 changed files with 167 additions and 4 deletions

View File

@@ -73,9 +73,15 @@ pub fn main() !void {
defer top_box.deinit();
var bottom_box = try App.Container.init(allocator, .{
.rectangle = .{ .fill = .blue },
.border = .{
.sides = .all,
.color = .blue,
},
.layout = .{
.separator = .{ .enabled = true },
.separator = .{
.enabled = true,
.color = .red,
},
.direction = .vertical,
.padding = .vertical(1),
},