Spacing between sections in a form

爷,独闯天下 提交于 2021-01-01 08:50:30

问题


Is it possible to adjust the spacing between section blocks in a form? Ive tried using .padding() but it only moves whatever is inside the section, not the actual section itself.


回答1:


Try a spacer between the sections:

Spacer(minLength: CGFloat?)



回答2:


You can try this property without giving float value too

    Spacer() // this will work


来源:https://stackoverflow.com/questions/60143989/spacing-between-sections-in-a-form

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!