I create a panel on page left. I added buttons(image-top and text-bottom) on this panel programmatically. Panel's width fixed and when I set the button's height, if text is so long, image and text overlap. But I don't know added button's height.
I add this buttons like
btnFav.Size = new System.Drawing.Size(90, 50);
when I write Autosize show like this,
by the way,
btnFav.ImageAlign = System.Drawing.ContentAlignment.TopCenter;
btnFav.TextAlign = ContentAlignment.BottomCenter;