update height
This commit is contained in:
parent
00d78cfded
commit
e5accc7611
@ -20,9 +20,9 @@ open class DoughnutChart: View, MVMCoreUIViewConstrainingProtocol {
|
|||||||
var labelContainer = ViewConstrainingView.empty()
|
var labelContainer = ViewConstrainingView.empty()
|
||||||
var heightConstraint: NSLayoutConstraint?
|
var heightConstraint: NSLayoutConstraint?
|
||||||
|
|
||||||
private var sizeObject = MFStyler.sizeObjectGeneric(forCurrentDevice: 100)!
|
private var sizeObject = MFStyler.sizeObjectGeneric(forCurrentDevice: 150)!
|
||||||
|
|
||||||
var height: CGFloat = 100 {
|
var height: CGFloat = 150 {
|
||||||
didSet {
|
didSet {
|
||||||
if height != oldValue {
|
if height != oldValue {
|
||||||
sizeObject = MFStyler.sizeObjectGeneric(forCurrentDevice: height)!
|
sizeObject = MFStyler.sizeObjectGeneric(forCurrentDevice: height)!
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user