padding generation moved to frame's constructors