Page 1 of 1
Determining ListBox's Size
Posted: Wed Dec 15, 2010 14:13
by avengre
Hello, i'm currently creating a framewindow, with a listbox on the inside. I would like to resize the framewindow to accomodate the entire contents of a listbox, however I can't figure out how to either set the ListBox to expand to full size, or how to get the Unclipped / Unscrolled size of the client area. None of the accessor functions i've been able to do what I need done.. Suggestions?
Re: Determining ListBox's Size
Posted: Wed Dec 15, 2010 18:00
by Jamarr
The unclipped dimensions only apply to the window itself, in this case the listbox, not it's children. So you want the 'unscrolled' size. I do not believe there is any function to pull this size directly. However, you should be able to calculate it yourself by adding up each item's size.
Re: Determining ListBox's Size
Posted: Sat Dec 18, 2010 04:34
by makofierce
viewtopic.php?f=10&t=3684But the padding? That's in the XML only...
Re: Determining ListBox's Size
Posted: Sat Dec 18, 2010 19:14
by makofierce
Something else:
If Listbox & ListboxItem are deprecated, how do we do dropdown lists?
Re: Determining ListBox's Size
Posted: Thu Dec 23, 2010 18:33
by Kulik
ItemListbox and ItemEntry
Re: Determining ListBox's Size
Posted: Fri Dec 31, 2010 09:51
by makofierce
Dropdown lists.
Re: Determining ListBox's Size
Posted: Thu Jan 06, 2011 18:46
by makofierce
...
ItemListbox and ItemEntry, the non-deprecated objects, do not have any way to automatically make dropdown lists, like the deprecated ones do.
This is a problem.
Re: Determining ListBox's Size
Posted: Sat Mar 05, 2011 20:56
by makofierce
.