ui/common/types.c

branch
newapi
changeset 380
aad99285865c
parent 378
d41b1ffc5f77
--- a/ui/common/types.c	Tue Nov 12 14:58:03 2024 +0100
+++ b/ui/common/types.c	Wed Nov 13 21:30:18 2024 +0100
@@ -204,6 +204,7 @@
     info->columns = len;
     info->types = ui_calloc(ctx, len, sizeof(UiModelType));
     info->titles = ui_calloc(ctx, len, sizeof(char*));
+    info->columnsize = ui_calloc(ctx, len, sizeof(int));
     
     int i = 0;
     CxIterator iter = cxListIterator(cols);

mercurial