Custom control losing size around edge when added to form?

Set the BorderStyle of the UserControl in design mode to "None". It's interfering with the sizes of the controls when using Anchors.

Set the BorderStyle of the UserControl in design mode to "None". It's interfering with the sizes of the controls when using Anchors. When the compiled control is on the form, set the border property there, the label inside it will adjust correctly then.

Otherwise, in design mode of the UserControl, you will have to adjust the size of the labels by subtracting their widths by the total size of the borders.

THANKYOUUU! :D - 20 Billion Kudos to LarsTech from me! – Christopher Townsend Dec 9 at 9:46 @ChristopherTownsend Glad it works.In place of kudos, feel free to use the controls to the left of answers to accept them when they solve the problem.

Also, feel free to vote up any useful questions or answers you find helpful. – LarsTech Dec 9 at 12:53.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions