Skip to content

Commit

Permalink
Merge pull request #142 from sk-chanch/Add-Set-Font-OverlayMenuCell
Browse files Browse the repository at this point in the history
Add support set font for OverlayMenuCell
  • Loading branch information
kazuhiro4949 authored Aug 8, 2022
2 parents ab80391 + 88cdd43 commit b8adf6c
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 b8adf6c

Please sign in to comment.