fix #36641: "Edit Style" dialog wider and higher than necessary
Merge pull request #1379 from jpfleury/36641-edit-style-dialog-size

fix #36641: "Edit Style" dialog wider and higher than necessary