Merge branch 'feature/short_tall_dividers' into 'develop'
MOBFIRST-19249 : List Item Style Updates See merge request BPHV_MIPS/mvm_core_ui!209
This commit is contained in:
commit
96fd9174c3
@ -47,8 +47,10 @@ import UIKit
|
||||
switch styleString {
|
||||
case "standard":
|
||||
styleStandard()
|
||||
case "header":
|
||||
styleHeader()
|
||||
case "shortDivider":
|
||||
styleShortDivider()
|
||||
case "tallDivider":
|
||||
styleTallDivider()
|
||||
case "sectionFooter":
|
||||
styleFooter()
|
||||
case "none":
|
||||
@ -64,13 +66,20 @@ import UIKit
|
||||
bottomSeparatorView?.style = .standard
|
||||
}
|
||||
|
||||
open func styleHeader() {
|
||||
open func styleTallDivider() {
|
||||
topMarginPadding = 48
|
||||
bottomMarginPadding = 16
|
||||
topSeparatorView?.style = .none
|
||||
bottomSeparatorView?.style = .thin
|
||||
}
|
||||
|
||||
open func styleShortDivider() {
|
||||
topMarginPadding = 32
|
||||
bottomMarginPadding = 16
|
||||
topSeparatorView?.style = .none
|
||||
bottomSeparatorView?.style = .thin
|
||||
}
|
||||
|
||||
open func styleFooter() {
|
||||
topMarginPadding = 24
|
||||
bottomMarginPadding = 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user