Skip to content

Commit

Permalink
Add support set font for OverlayMenuCell
Browse files Browse the repository at this point in the history
  • Loading branch information
sk-chanch committed Jul 23, 2022
1 parent ab80391 commit 88cdd43
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions Sources/Menu Cells/Overlay/OverlayMenuCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,24 @@ public class OverlayMenuCell: PagingMenuViewCell {
}
}

public var hightlightTextFont: UIFont? {
set {
highlightLabel.font = newValue
}
get {
return highlightLabel.font
}
}

public var normalTextFont: UIFont? {
set {
titleLabel.font = newValue
}
get {
return titleLabel.font
}
}

public static let sizingCell = OverlayMenuCell()

let maskInsets = UIEdgeInsets(top: 6, left: 8, bottom: 6, right: 8)
Expand Down

0 comments on commit 88cdd43

Please sign in to comment.