fix(cotainer/border): seperator placement without border's and gap

This commit is contained in:
2025-02-15 11:25:20 +01:00
parent a6aa6e5150
commit 5c148e1aa5
2 changed files with 8 additions and 12 deletions

View File

@@ -24,15 +24,11 @@ pub fn main() !void {
defer renderer.deinit();
var container = try App.Container.init(allocator, .{
.border = .{
.color = .blue,
.corners = .rounded,
.sides = .all(),
.separator = .{ .enabled = true },
},
.border = .{ .separator = .{ .enabled = true } },
.layout = .{
.gap = 2,
.padding = .all(5),
.direction = .vertical,
.direction = .horizontal,
},
});
var box = try App.Container.init(allocator, .{