Auto-resize dialog to fit content
Merge pull request #3863 from colemanw/Auto-resize

Auto-resize dialog to fit content