如何更改尤里卡部分之间的边距?

问题描述 投票:0回答:1

如何更改尤里卡部分标题的边距或高度?

swift height netflix-eureka sections
1个回答
0
投票

这是可以更改尤里卡单元格中各部分之间的高度或边距的方法:

   form +++
   Section() { section in
        var header = HeaderFooterView(title: "Put the section's title here")
        header?.onSetupView = { view, _ in 
        }
        header?.height = { 10 } // can be the value you want e.g. 10, 20, 30 ...
        section.header = header
    }
© www.soinside.com 2019 - 2024. All rights reserved.