//设置上下左右值
padding(EdgeInsets(top: 10, leading: 20, bottom: 10, trailing: 20))
//只设置底部
padding(.bottom, -130)
//只设置左边
padding(.leading, -130)
//设置上下左右值
padding(EdgeInsets(top: 10, leading: 20, bottom: 10, trailing: 20))
//只设置底部
padding(.bottom, -130)
//只设置左边
padding(.leading, -130)
本文标题:padding
本文链接:https://www.haomeiwen.com/subject/ehjwpctx.html
网友评论