add(border): seperator line options with corresponding code points

This commit is contained in:
2025-02-16 02:04:53 +01:00
parent d951906b2b
commit d8a9e72b67
2 changed files with 19 additions and 8 deletions

View File

@@ -63,11 +63,16 @@ pub fn main() !void {
const element = element_wrapper.element();
var container = try App.Container.init(allocator, .{
.border = .{ .separator = .{ .enabled = true } },
.border = .{
.separator = .{
.enabled = true,
.line = .double,
},
},
.layout = .{
.gap = 2,
.padding = .all(5),
.direction = .horizontal,
.direction = .vertical,
},
}, element);
var box = try App.Container.init(allocator, .{