❔ UWP TreeView is not stretching to fill space
Title pretty much explains it all: I have a TreeView that's not stretching and stays 0px x 0px if there's no data. It's not the end of the world I guess, but I would really like it to stretch to fill if possible.
What am I missing?
2 Replies
Secondary problem: I can't figure out how to get it to display nested objects. I have the Plan, which should display its name, then a list of Base Items that are used in the plan and then a list of options, which include more items to add to the plan. All of the info is stored in tuples, and the microsoft documentation does not have information on how to bind to tuples, nor does it have examples with multiple levels of nesting that I could find
I can post the code populating SubdivisionPlans if it's necessary, but the collection gets populated, it just doesn't display at all
full disclosure: the treeview code was written by chatgpt, i tried a few things on my own and got nowhere
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.