Motif/Xt: Dynamically resize the visible item count of an XmList
Chris Sorenson
csoren at cpinternet.com
Fri Jan 14 22:54:56 UTC 2022
>
> Message: 1
> Date: Wed, 12 Jan 2022 23:57:37 +0100
> From: Holger Sebert
> To: xorg at lists.x.org
> Subject: Re: Motif/Xt: Dynamically resize the visible item count of an
> XmList
> Message-ID: <08d618bb-c03e-4880-b332-c5e53ceb45bd at ruhr-uni-bochum.de>
> Content-Type: text/plain; charset="utf-8"; Format="flowed"
>
> I have attached a small example program to illustrate the behavior.
> Just try to resize the main window and observe how the ScrolledList
> widget is NOT properly resized.
>
> Maybe it's a feature, I don't know. But it looks like I'll have
> to write my own manager widget to accomplish the task.
>
> Best,
> Holger
>
I think you might be overthinking this a bit, here's something I just dashed off that I think might be along the lines of what you're looking for, (attached program), note you'll also need to link it to libXmu as I've added a call to support Editres.
Hopefully the attachment comes through...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: new_attach02.c
Type: text/x-c
Size: 2659 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg/attachments/20220114/7339369b/attachment.bin>
More information about the xorg
mailing list