winforms - C# change location of controls inside FlowLayoutPanel -


i using flowlayoutpanel have relative location controls. change location of control inside flowlayoutpanel. when location, dont mean control1 before control2 or - mean if got 2 controls, lets label , combobox - combobox's height 21, label's height 13 , flowlayoutpanel's height 21 also. want put label in vertical middle of flowlayoutpanel - ((21-13)/2) top. dont want specific vertical middle want general solution.

you set top margin of label (containerheight-labelheight)/2


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -