![]() ![]() ![]() So for example, If you want the MinimumSize to be (600, 170) then you need to set it to (590, 137). So the first option would be to offset what you want the MinimumSize to be by (w:10, h:33). The last one would be to fix the issue in code by setting the ControlBox property after the form is initialized. Another would be to actually show the ControlBox. Well you actually have three workarounds. This would be the offset of a WIDTH of 10 pixels and a HEIGHT of 33 pixels. The other would be the title bar icon WIDTH. My guess is that the bug is not accounting for two things. Then you closes the form and open it back up you will notice the Size has now been changed to (610, 203). ![]() If you close this form and open it back up the Size is still exactly the same (600, 170). It is not calculating the Size properly when certain circumstances are met. Apparently there is a bug in Visual Studio 2015. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |