Click here to Skip to main content
15,885,365 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Why for example, when I load a child form in my MDI container, the form is auto resized?
It really need to be perfect looking and thats why i asked here, maybe someone had this problem before and knows the solution,
this is how i see the child form in my visual studio:
http://i.imgur.com/IMisYt5.png[^]
and this is how i see it in the actual application when its running:
http://i.imgur.com/tOQ3QLK.png[^]

btw is visual studio 2013, hope you will help, thanks in advance.

[
as you can see the picturebox is smalled,
the mirgin of the buttons is changed since they look much closer..
]
Posted
Updated 21-Jun-15 1:37am
v2

1 solution

One, from hat you've shown, you shouldn't be using MDI at all.

Second, if you have just ONE child form maximized in MDI, ALL child forms are maximized. This will resize your forms to fill the MDI client area. You cannot turn that behavior off. Like I said, nothing you're shown justifies using MDI at all.

Next, it looks like your controls on your form are not docked/anchored/in proper containers to properly control their layout. It looks like you just dropped your controls on the form and did nothing to control their layout.
 
Share this answer
 
Comments
SrgjanX 21-Jun-15 14:41pm    
i just found the actual problem, and you wont believe it, its because of the font, before it was selected "luciada console" and i reset the font and it looks great now.
btw thanks.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900