As the answers aboves, I want to ask a question for more. That is: How can you let the buttons or text controls to suit the screen when the dialog fit the different screen size? In another word, the buttons in dialog will stay unmove if you just let the dialog fit the screen, that will make the whole dialog look grotty. Thanks, I wonder if I describe the question clearly.