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?
Hello 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.
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