I have a situation in which I have a custom dialog with roughly this hierarchy:
---- Dialog
— background panel
— panel2 (the one in question here)
panel2 will house a variable number of other widgets that will stack vertically.
What I had been doing is making the height of Dialog change to accommodate however many things are stacked vertically; I like that effect, as it gives a clean and expected user experience. I realize now, though, that it is possible that users could have so many things stacked vertically that the height of Dialog will be greater than the height of the user’s screen–can’t have that.
So I thought I could keep this approach for cases where the amount stacked vertically is under some critical value that doesn’t make the whole Dialog to tall…but then, if there are too many widgets stacked vertically, switch the panel2 to a scrolled panel, so that now the user could scroll to the lowest widgets within panel2.
First, does this approach seem like a decent user experience?
Second, can this be done reasonably easily/robustly? Any advice? (I am trying now, but encountering some issues that I can describe if necessary.)
Thanks!
Che