GridLayout with enabled spacing wrong height

Hello,
issue found in 6.5.6 ver. Problem is, if you create new gridLayout, for example (1x4) and add some element into first row, other rows are empty, than layout height will be same as added component height(of course without margins, if they are set), but if you set spacing for this gridLayout, layout height will be = component height + some exta px. Screenshot attached.
11662.png