Resizing inputfield for filter in Grid-Header

Hello everyone,

I made a grid with Vaadin and it’s working perfectly fine! The only thing that really bugs me is that the inputfields which are used for filtering the data of the grid are not sized correctly. I want them to be a little bit smaller so that they don’t overlap the header and I want them to be as wide as the coloum itself. Here is a screenshot of the current state.

How can I achieve this?