ui/common/types.c

changeset 80
1a908b060122
parent 76
641dcc79e0ef
--- a/ui/common/types.c	Tue Nov 12 15:05:57 2024 +0100
+++ b/ui/common/types.c	Wed Nov 13 21:19:55 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