I have a question about panel?

I’m making a 2D game and tried using panel in creating it

but when i press play is becoming like it can anyone tell me what i did wrong here?

hi;

when u first create a panel u shouldnt change any of its values;

it will automatically stretch to the size of the window resolution;
panel work as parent any ui or text u want to create should be a child of the panel;
u should not use panel it self as a ui ;

still i need to see the details of your canvas;