Tue, 18 Nov 2025 13:52:49 +0100
implement listview height parameter (Motif)
| ui/motif/list.c | file | annotate | diff | comparison | revisions |
--- a/ui/motif/list.c Tue Nov 18 13:49:41 2025 +0100 +++ b/ui/motif/list.c Tue Nov 18 13:52:49 2025 +0100 @@ -61,7 +61,10 @@ if(args->multiselection) { XtSetArg(xargs[n], XmNselectionPolicy, XmEXTENDED_SELECT); n++; } else { - XtSetArg(xargs[n], XmNselectionPolicy, XmSINGLE_SELECT); n++; + //XtSetArg(xargs[n], XmNselectionPolicy, XmSINGLE_SELECT); n++; + } + if(args->height > 0) { + XtSetArg(xargs[n], XmNheight, args->height); n++; } char *name = args->name ? (char*)args->name : "listview";