c# - Windows Forms sizes not matching -
i've got strict requirements on windows form sizes elements , i've been having trouble matching up, figured out problem don't understand why i'm getting it. have picture box needs specific size, when set size in properties panel of visual studio, doesn't take size, value smaller that. throwing off development. can rectify manually setting size value in form code, i'd know why properties tab doesn't automatically correctly. i've got outputting precise size value message box.


any of following properties of picturebox have caused it:
- anchor
- dock
- margin
- minimumsize
- maximumsize
- sizemode
also need check direct parent (container) of picturebox. directly put in form, or inside container groupbox or panel? if latter case, should check properties of parent object too.
Comments
Post a Comment