Tree via ItemListbox/ItemEntry
Posted: Mon Jan 21, 2008 05:26
I am trying to create a tree control with the new(ish?) ItemListbox/ItemEntry style listbox implementation.
The problem that I am running into is that ItemEntry seems to ignore its height being set by any of the plethora of height setting methods or properties (Window::setHeight, Window::setProperty("UnifiedHeight") and others.)
To implement, essentially, nested ItemListboxes, I need to have variable height (i.e. not all ItemEntry instances in the ItemListbox will have the same height) and the ability to change the height of ItemEntry instances dynamically (ideally, using the AutoResize feature of ItemListbox.)
-----
I went in to working on this thinking it would be easy, the ItemLisbox/ItemEntry implementation is much more flexible than the old way, but it isn't working the way I think it should.
Am I missing the secret c0d3z or is there a limitation in the implementation that I'm running up against?
-SotW
PS - I am using TaharezLook if that is significant.
The problem that I am running into is that ItemEntry seems to ignore its height being set by any of the plethora of height setting methods or properties (Window::setHeight, Window::setProperty("UnifiedHeight") and others.)
To implement, essentially, nested ItemListboxes, I need to have variable height (i.e. not all ItemEntry instances in the ItemListbox will have the same height) and the ability to change the height of ItemEntry instances dynamically (ideally, using the AutoResize feature of ItemListbox.)
-----
I went in to working on this thinking it would be easy, the ItemLisbox/ItemEntry implementation is much more flexible than the old way, but it isn't working the way I think it should.
Am I missing the secret c0d3z or is there a limitation in the implementation that I'm running up against?
-SotW
PS - I am using TaharezLook if that is significant.