UIGridLayout Won't Work Properly

My question is short and simple. Why does the UIGridLayout in my frame not center the objects and why is there text ouside the frame?