[Solved] - How to change the height of the control(enabletheme)?

Hi,
I have set dropdowntype = .dropdownlist , now that its height changes with fontsize, can I customize it?
Thanks you!

5 Replies

DV Duraimurugan Vedagiri Syncfusion Team May 28, 2020 02:03 PM UTC

Hi GridLock,

The MultiColumnComboBox control height is associated with font size. Therefore, if change the font size with help of MultiColumnComboBox.Font property, the control height also changed based on font size. So, can’t customize it.

Could you please brief your requirement and let us know what you trying to achieve by changing the control height? Based on that we will proceed further.

Regards,
Durai



TG The GridLock May 28, 2020 06:24 PM UTC

Hi Durai ,
the size is not in sync with the other controls, it's a bit thin / even though I'm setting font size to 9





DV Duraimurugan Vedagiri Syncfusion Team May 29, 2020 02:54 PM UTC

Hi GridLock,

Thanks for your update.

If need to sync the MultiColumnComboBox height with other controls, you can only achieve this by changing FontSize with help of below code snippet.

Code Snippet
this.multiColumnComboBox1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 
 

Regards,
Durai
 



TG The GridLock May 30, 2020 07:54 PM UTC

Hi Durai, it's also solution!



DV Duraimurugan Vedagiri Syncfusion Team June 1, 2020 10:31 AM UTC

Hi GridLock,

Thanks for your update.

Please let us know if you need any further assistance.

Regards,
Durai

Loader.
Up arrow icon