This commit is contained in:
agra
2026-03-02 19:47:25 +02:00
parent 812bc6d6ec
commit e63c946116
33 changed files with 32185 additions and 202 deletions

View File

@@ -12,7 +12,7 @@ VStack :: struct {
alignment: HAlignment;
add :: (self: *VStack, view: View) {
self.children.append(ViewChild.make(view));
self.children.append(ViewChild.{ view = view });
}
}
@@ -54,7 +54,7 @@ HStack :: struct {
alignment: VAlignment;
add :: (self: *HStack, view: View) {
self.children.append(ViewChild.make(view));
self.children.append(ViewChild.{ view = view });
}
}
@@ -94,7 +94,7 @@ ZStack :: struct {
alignment: Alignment;
add :: (self: *ZStack, view: View) {
self.children.append(ViewChild.make(view));
self.children.append(ViewChild.{ view = view });
}
}