What kind of resolution and text size are you running? Windows handles the "resizing" of the dialogs, there is not any custom code involved.

Friedrich