I have a situation where my app uses a rich modal popup. A few of my visually-challenged users continue to maintain an 800x600 screen resolution, which for me means that the whole popup doesn't show and they can't even scroll down to the action buttons on the modal.
I can tweak the parameters on the modal so that a scrollbar appears and that's what I need for these users, but... I don't want the other 98% of my user base suffering a stupid scrolling modal when their screens are fine to display the whole thing.
What's the best way to dynamically change the modal widget parameters at render-time so my squinters and non-squinters each get the best settings for them?
You can set height/width dynamically: