Adjust sizing of database dialog elements