CustomField ignores setSpacing property

Hello,

I have a custom field which is extending
CustomField
class. I added it into a cell of a
GridLayout
. GridLayout’s .

setSpacingproperty

is set to

true

. Other fields have space but the custom field doesn’t.

If I replace the custom field by a
TextField
, space is applied.

How can I fix this?


Note: Field 1 (ComboBox and two buttons) is the custom field.