TextField alignment in Table

I use a TableFieldFactory to create the fields for my table. In the image below, you can see 2 columns. The first column is a ComboBox and the second one is a TextField. The alignment of the TextField is not as I want it. I would prefer a vertical center alignment but I don’t know how to achieve this.
I could maybe surround the TextField with a Horizontal- or VerticalLayout but maybe I can get around it to avoid unnecessary components.

Any help is much appreciated

Andreas
12463.png

Try to use Table.CellStyleGenerator to add your custom cell style with this property:

vertical-align:middle;

This should solve the problem.

Hi Mindaugas,

thanks for your suggestion. I changed the global setting in my CSS file and it works nicely.

Andreas