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.

actual size

properties window

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

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -