Buttons in Form does not appear

Hello,

When I run grid separately from the entire application, buttons shows normaly. When I run the whole project, buttons disapear from the form. How to solve this?

Run as application:


When I run the whole project:
Posnetek zaslona 2024-12-22 122510

How to solve this?
Please help.

Thank you!