supports layout padding.