review fixes
This commit is contained in:
parent
7d68149853
commit
d3fb26f005
@ -27,7 +27,7 @@ open class HeaderView: Container {
|
||||
containerHelper.rightConstraint = margins.rightAnchor.constraint(equalTo: molecule.rightAnchor)
|
||||
containerHelper.rightConstraint?.priority = .defaultHigh
|
||||
containerHelper.rightConstraint?.isActive = true
|
||||
molecule.widthAnchor.constraint(equalToConstant: 596).isActive = true
|
||||
molecule.widthAnchor.constraint(equalToConstant: HeaderMaxWidth).isActive = true
|
||||
}
|
||||
|
||||
// MARK: - MVMCoreViewProtocol
|
||||
|
||||
@ -31,7 +31,7 @@ public class MoleculeHeaderView: MoleculeContainer {
|
||||
containerHelper.rightConstraint = margins.rightAnchor.constraint(equalTo: molecule.rightAnchor)
|
||||
containerHelper.rightConstraint?.priority = .defaultHigh
|
||||
containerHelper.rightConstraint?.isActive = true
|
||||
molecule.widthAnchor.constraint(lessThanOrEqualToConstant: 596).isActive = true
|
||||
molecule.widthAnchor.constraint(lessThanOrEqualToConstant: HeaderMaxWidth).isActive = true
|
||||
}
|
||||
|
||||
open override func updateView(_ size: CGFloat) {
|
||||
|
||||
@ -10,7 +10,7 @@ import Foundation
|
||||
|
||||
@objc public extension MFStyler {
|
||||
|
||||
@objc static func bridgeGetGutterSizeForForApplicationWidth() -> CGFloat {
|
||||
@objc static func bridgeGetGutterSizeForApplicationWidth() -> CGFloat {
|
||||
Padding.Component.gutterForApplicationWidth
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ import Foundation
|
||||
Padding.Component.gutterFor(size: size)
|
||||
}
|
||||
|
||||
@objc static func bridgeGetColumnSizeForForApplicationWidth() -> CGFloat {
|
||||
@objc static func bridgeGetColumnSizeForApplicationWidth() -> CGFloat {
|
||||
Padding.Component.columnFor(size: MVMCoreUISplitViewController.getApplicationViewWidth())
|
||||
}
|
||||
|
||||
|
||||
@ -57,6 +57,8 @@ extern CGFloat const HeightTableSeperatorHeight;
|
||||
extern CGFloat const MFHeightForSwitch;
|
||||
extern CGFloat const MFMFWidthForSwitch;
|
||||
|
||||
extern CGFloat const HeaderMaxWidth;
|
||||
|
||||
// Color constants
|
||||
extern CGFloat const DisableOppacity;
|
||||
extern CGFloat const PaymentMethodViewHeightWidthMultiplier;
|
||||
|
||||
@ -46,6 +46,9 @@ CGFloat const HeightTableSeperatorHeight = 1;
|
||||
|
||||
CGFloat const MFHeightForSwitch = 22;
|
||||
CGFloat const MFWidthForSwitch = 42;
|
||||
|
||||
CGFloat const HeaderMaxWidth = 596;
|
||||
|
||||
CGFloat const DisableOppacity = 0.5;
|
||||
CGFloat const PaymentMethodViewHeightWidthMultiplier = 0.55;
|
||||
CGFloat const MinCellHeight = 96;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user