I have created a user control with an UltraPanel docked to Fill.Inside this panel are some controls.
I add this user control programatically to a form and dock it to Fill.
All works fine until I switch my Windows 7 to use Medium size (125%) text.
This will cause the panel to be stretched outside the boundries of the form (by the looks of it about 125%...). Since the dock is set to Fill this should not be possible.
I'm using 2009.2
The whole application is styled with AppStyler. When turning appstyling off the problem seems to go away.
What can I do about this?
Updated to 2011. Then it works fine. Easy solution ;-)
Thanks for the help!
Hello Erik,
You are right about this. I also tried it with the latest service release of 9.2, which is 2119 and it works fine. So this seems to be an issue which has been fixed already. So what you could do is downloading this service release and test your application against it. Please let me know if this works for you and do not hesitate to contact us if you need any additional assistance.
Hi Boris,
I attached an example. The frmProfiler looks normal at 100%. You will see 2 buttons at the bottom when running the application. When switching to 125% you will see that the left button has fallen off the form.
Also try switching to 125% and then opening the frmProfiler in your Visual Studio designer. it looks completely different from when you set the screen to 100%.
- Erik
I tried your scenario and I was not able to reproduce the mentioned behavior so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have any other questions.