There are space margin between filter and tree table component

I dont know why everytime i add tree table component with filter component, there are spaces margin between the two components.
Is it bug ?

Could you provide your screen layout (the part with the filter and table is enough) and a screenshot with an indication of what you think is the undesirable spacing?

Please check the attached files. if i change the component into generic table, it is displayed correctly

Capture

capture1

Did you expand the table? Please try to set “departmentTable” in the “expand” property of the “layout” element.

Thanks Krivopustov!
I really appreciate your help in resolving the problem

You are welcome. Have a look at this tutorial: https://www.cuba-platform.com/tutorials/screen-layout-rules