Hello,

I have a dialog in which I put a list pre-filled with some values.
The dialog dimensions are such that all the lines of the list don't fit in
its height.
However, instead of the list size being clamped to fit the dialog's client
area, I get a list control higher than the dialog.
If the list is populated with less data, its dimensions are computed as I
expect them.
How can I tell the layout to clamp the list control dimensions to whatever
is made available by the dialog whatever its initial contents are?

More generally, provided I don't shrink a dialog, and provided I don't
force control dimensions to something too big, it is normal for the layout
to ever compute control dimensions larger than the available space?

Regards,

-- 
Benoit.

Attachment: ListExpansionProblem.wlua
Description: Binary data

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to