extract padding and showGridLines to guide property