application/window.c

changeset 80
1a908b060122
parent 78
ad7ced6cf00b
child 83
a612adaee43d
--- a/application/window.c	Tue Nov 12 15:05:57 2024 +0100
+++ b/application/window.c	Wed Nov 13 21:19:55 2024 +0100
@@ -72,6 +72,8 @@
 
     // main content
     UiModel* model = ui_model(obj->ctx, UI_ICON_TEXT, "Name", UI_STRING, "Type", UI_STRING_FREE, "Last Modified", UI_STRING_FREE, "Size", -1);
+    model->columnsize[0] = -1;
+    model->columnsize[1] = 150;
     model->getvalue = (ui_getvaluefunc) window_resource_table_getvalue;
     ui_table(obj, .fill = UI_ON, .model = model, .onselection = action_list_selection, .onactivate = action_list_activate, .ondrop = action_dnd_drop, .varname = "reslist", .multiselection = TRUE);
 

mercurial