On 12/16/21 00:22, Chris Sorenson wrote:
Tried it out, but it not yield the desired result, unfortunately.
The list widget gets resized but it does not update the visible item
count property.
I need to somehow catch the resize event and update it manually, but
I don't find any suitable call
I'm sure this is an oversimplification, but tell me what you think:
Widget rc, list;
rc = XtVaCreateManagedWidget ("rowcol",
xmRowColumnWidgetClass, toplevel,
XmNwidth, 200,
XmNheight, 200,
NULL);
list = XtVaCreateManagedWidget ("list",
xmListWid