Add Grid widget in code.
Fix table layout.