large window frame

hi,
i’m a amateur vst programmer. I programmed an EQ and UI using vst2 sdk.
i encounter a difficult to adjust the vst windows size. hanan
screen.png
the vst window is much bigger then the vst frame. any idea how can I fix it?
Thenks