fix(cotainer/border): seperator placement without border's and gap
This commit is contained in:
@@ -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, .{
|
||||
|
||||
Reference in New Issue
Block a user