c# - Dynamic Combo Box Will Not Resize -


i'm trying create dynamic form. found on web:

http://csharp.net-informations.com/gui/dynamic-controls-cs.htm

and works. however, needed combo box , worked, but, couldn't resize it. here code:

code

any appreciated. can see, tried resize before placing on form. no compile error. don't know.

the height of combobox automatically adjusted specified size of font. can't change height unless increase font. this:

box.font = new font(box.font.fontfamily, 16); 

Comments

Popular posts from this blog

javascript - Slick Slider width recalculation -

jsf - PrimeFaces Datatable - What is f:facet actually doing? -

angular2 services - Angular 2 RC 4 Http post not firing -