updates
This commit is contained in:
parent
79d0700485
commit
8788d98323
@ -24,7 +24,6 @@ public struct Padding {
|
||||
|
||||
public static let TableCellParagraphSpace: CGFloat = 3
|
||||
public static let FooterLabelParagraphSpace: CGFloat = 4
|
||||
public static let WebViewInset: CGFloat = 8
|
||||
public static let HeightTableSeperatorHeight: CGFloat = 1
|
||||
public static let MFHeightForSwitch: CGFloat = 22
|
||||
public static let MFWidthForSwitch: CGFloat = 42
|
||||
@ -33,9 +32,7 @@ public struct Padding {
|
||||
public static let MinCellHeight: CGFloat = 96
|
||||
public static let HeightIphone5: CGFloat = 568
|
||||
public static let DefaultOptionCellHeight: CGFloat = 120
|
||||
public static let PromoViewHeight: CGFloat = 41.9
|
||||
public static let BetweenFields: CGFloat = 24
|
||||
public static let LabelWithInternalButtonLineSpace: CGFloat = 2
|
||||
public static let PrimaryButtonTop: CGFloat = 36
|
||||
|
||||
public struct Default {
|
||||
@ -45,7 +42,7 @@ public struct Padding {
|
||||
public static let VerticalSpacing3: CGFloat = 24
|
||||
|
||||
public static var HorizontalPaddingForApplicationWidth: CGFloat {
|
||||
return MFSizeObject(scalingStandardSize: PaddingDefaultHorizontalSpacing)?.getValueBasedOnApplicationWidth() ?? 0
|
||||
return MFSizeObject(scalingStandardSize: PaddingDefaultHorizontalSpacing)?.getValueBasedOnApplicationWidth() ?? HorizontalSpacing
|
||||
}
|
||||
|
||||
public static var VerticalPaddingForApplicationWidth: CGFloat {
|
||||
|
||||
@ -104,7 +104,7 @@ open class Styler {
|
||||
}
|
||||
|
||||
open class func sizeFontGeneric(forCurrentDevice size: CGFloat) -> CGFloat {
|
||||
return sizeObjectGeneric(forCurrentDevice: size)?.getValueBasedOnApplicationWidth() ?? 0
|
||||
return sizeObjectGeneric(forCurrentDevice: size)?.getValueBasedOnApplicationWidth() ?? size
|
||||
}
|
||||
|
||||
//--------------------------------------------------
|
||||
|
||||
Loading…
Reference in New Issue
Block a user