mod(container/border): change default configuration
This commit is contained in:
@@ -27,6 +27,7 @@ pub fn main() !void {
|
||||
.border = .{
|
||||
.color = .blue,
|
||||
.corners = .rounded,
|
||||
.sides = .all(),
|
||||
.separator = .{ .enabled = false },
|
||||
},
|
||||
.layout = .{
|
||||
@@ -36,14 +37,12 @@ pub fn main() !void {
|
||||
},
|
||||
});
|
||||
try container.append(try App.Container.init(allocator, .{
|
||||
.border = .{ .color = .light_blue, .corners = .squared },
|
||||
.rectangle = .{ .fill = .blue },
|
||||
}));
|
||||
try container.append(try App.Container.init(allocator, .{
|
||||
.border = .{ .color = .light_blue, .corners = .squared },
|
||||
}));
|
||||
try container.append(try App.Container.init(allocator, .{
|
||||
.border = .{ .color = .light_blue, .corners = .squared },
|
||||
.rectangle = .{ .fill = .blue },
|
||||
}));
|
||||
defer container.deinit();
|
||||
|
||||
Reference in New Issue
Block a user