add(container/rectangle): add content creation
This commit is contained in:
1 parent
11531e9d4a
commit
d326deac97
4 files changed
+14
-8
No files matched your search
@@ -27,7 +27,7 @@ pub fn main() !void {
|
||||
.border = .{
|
||||
.color = .blue,
|
||||
.sides = .{
|
||||
.top = false,
|
||||
.left = false,
|
||||
.bottom = false,
|
||||
},
|
||||
.corners = .rounded,
|
||||
@@ -37,6 +37,7 @@ 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 },
|
||||
|
||||
Reference in new issue
Block a user