I am trying to populate a SfComboBox in a very small area of my view. Therefore, it has to be very narrow in width and spacing should be customizable. As you can see in the image if these spaces are reduced I can achieve the view I need. Please help me reducing these spaces/ paddings.
VVVijayakumar Viswanathan Syncfusion Team November 24, 2022 10:27 AM
Thanks for contacting Syncfusion support,
Query 1: How to reduce spaces/ paddings in the ComboBox editor.
We have checked by creating a sample using your code and are not able to reproduce the reported issue in the ComboBox editor. We have attached the image and the sample for your reference. Please check the sample and let us know the details. If our code is different from your need, please share the modified sample with platform details. It will help us to provide a better solution earlier.
Query 2: How to reduce spaces/ paddings in the DropDown Items.
When setting the ItemPadding property as Zero, we can reduce the spacing/ padding for the items in the Dropdown. In the sample, we have provided the ItemPadding as 0. It was working as you expected.
Please get the sample from the attachment. Please let us know if you need any other details.