fix(container): rendering scrollable elements with separators
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:
yves-biener committed 2025-02-27 17:02:16 +01:00
1 parent 53b69f034c
commit 3b6848f845
7 files changed
+167 -4

No files matched your search

+8 -2
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),
},