How can I set application GUI size according to the screen resolution(800x600,1024x769)? I want the GUI to look the same size as different rsolution. How can I do?

Thank you for your help!

Best Regards,

Kevin Shen