1thangne 0 Posted June 1 Hello. Base: - My monitor scale up to 175% DPI. - I use C++Builder 11.1 My problem: - When I create complex GUI (some by IDE, some by code). They are not the same size at runtime. - (please see attachment) Please show me how could it fixed. Thank you very much Share this post Link to post
Fr0sT.Brutal 652 Posted June 2 Of course. When form is shown, it gets scaled (including all controls inside). So W_new := W*Scale and 500 turns to 500*1.75. But when you create a control at runtime, the dimensions are already considered "scaled". Share this post Link to post
1thangne 0 Posted June 2 Thank you. I will remove all GUI which created at runtime. Share this post Link to post
Sherlock 472 Posted June 2 All you need to do is calculate the correct size. No biggie. Share this post Link to post