Community
Participate
Working Groups
computeSize only iterates through TreeItems at the root of the tree. I'm looking for the size of the tree's contents, based on which items are currently expanded. It seems like computeSize should be doing this, or at least there should be a way of asking for the size from the tree which, when applied, would cause the scrollbars to disappear. (I suppose it's impossible to create a Tree without Scrollbars?) A workaround which I haven't tried yet might be to recursively count how many items are visible, subtract the items at the root level, multiply by the row height, and add that to the results of compute Size. I don't know if width needs to be addressed as well.
*** This bug has been marked as a duplicate of bug 49724 ***